I need code written to append username from a SharedObject into a url
- or -
Post a project like this4028
$20
- Posted:
- Proposals: 1
- Remote
- #227913
- Awarded
Description
Experience Level: Entry
I need code written to add info from a SharedObject into a url
Can the username be added to the url from my SharedObject?
var savedstuff:SharedObject = SharedObject.getLocal("myStuff","/");
if (savedstuff.size > 0)
{
username.text = savedstuff.data.username;
}
http://www.mysite.com/{ username.text }_FG_myfile.xml
Can the username be added to the url from my SharedObject?
var savedstuff:SharedObject = SharedObject.getLocal("myStuff","/");
if (savedstuff.size > 0)
{
username.text = savedstuff.data.username;
}
http://www.mysite.com/{ username.text }_FG_myfile.xml
David C.
100% (7)Projects Completed
10
Freelancers worked with
9
Projects awarded
57%
Last project
14 Feb 2014
Canada
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies