www.ronaldsworld.com/sketchpad.html
arite - i just made that for a site and i got it the way i want it (some pointers would be nice tho

Moderators: HeRetiK, The inner Core
Code: Select all
_root.<mySO> = SharedObject.getLocal("<sharedObjectName>");
Code: Select all
_root.<mySO>.data.<myVariable> = _root.<myVariable>;
Code: Select all
_root.<myVariable> = _root.<mySO>.data.<myVariable>;
HeRetiK
Posted: Wed Dec 22, 2004 10:37 am Post subject:
it's saved in 2 ways.
the first option saves it using FlashMX's sharedObject.
you create a sharedObject like this:
Code:
_root.<mySO> = SharedObject.getLocal("<sharedObjectName>");
save variables like this:
Code:
_root.<mySO>.data.<myVariable> = _root.<myVariable>;
and load them like this:
Code:
_root.<myVariable> = _root.<mySO>.data.<myVariable>;
of course the <> are just to mark out the parts where you insert your own variable names. You can also save arrays this way.
the submit button saves it using php & mySQL.
Users browsing this forum: No registered users and 1 guest