anybody can give me a example of a fla file where we can input our data and the data will be save using flash MX???
Anyway you are kindly drop a message, your suggestion, explanation or example of code to me…:bored: thankx ya
Where do you want to save the data?
Locally, on the user’s pc? [size=1](use shared Objects)
[size=2]Or on your server, so that it can be loaded back to flash for others to see too? [size=1](server side script needed, php, asp, possibly also mySQL)
[size=2]And what kind of data are we talking about here anyway?
:rock:[/size]
[/size][/size] [/size]
what i mean is in character…such as user name…
yup…store in array…and view in flash file…(in flash)
I’m still quite not so sure what you want, but if you simply want to store the user’s name during this one time he/she views your .swf, you can use simply:
var username = "Name Of the User";
//and call it later on, for instance in a dynamic textfield named "name"
name = username:
//saving the name(s) to an array, could work something like this:
usernames = new Array();
usernames.push(username);
If you want to have the username stored also for later use, like a cookie, you could use shared object:
myCookie = sharedobject.getLocal("cookieName" );
cookieName.data.username = "Name Of the User";
//and call it using simply
cookieName.data.username
More about shared objects: http://www.macromedia.com/support/flash/ts/documents/local_so.htm
But if you want to see the saved information too, then you need to save the data on your server, with php, for example.
Hopefully helps… I have really no idea what you want to achieve here