Groups | Blog | Home
all groups > flash actionscript > february 2004 >

flash actionscript : Declaring variables across frames


hoz
2/22/2004 11:55:47 PM
Hey guys,

When I use the LoadVars object to submit a form, and I have different
variables across four frames (four page form), how do I declare ALL variables
to send to a server-side app at the same time? I plan on the LoadVars being
initiated on the 4th frame.

Thanks,

Hoz
jerome NO[at]SPAM STC
2/23/2004 2:20:13 PM
Just pass the variables in each pages (frames) to the LoadVars object. All data
in that object will then be sent to your server script.

IE on a "next page" button:

_root.myLoadVars.whatever = _root.myField.text;
hoz
2/23/2004 6:33:36 PM
Got it!

Thanks so much for your help!

AddThis Social Bookmark Button