| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hello, I have one swf which contains a user entry form. When submitted, I want to send the user submission result variables to a second SWF on my server. This second SWF is not actually open until the first SWF calls and loads it. Can I achieve this ? Thanks for any advice. |
|
#2
| |||
| |||
| phil1943, > When submitted, I want to send ... variables to a > second SWF on my server. This second SWF is > not actually open until the first SWF calls and loads it. For something like that, you can use the SharedObject class (available as early as Flash Player 6, AS1), which effectively gives you the Flash equivalent of a browser cookie. You could also send your variables to the server via some sort of middleware by way of the LoadVars class, then retrieve those values in the second SWF via the same class. David Stiller Adobe Community Expert Dev blog, http://www.quip.net/blog/ "Luck is the residue of good design." |
|
#3
| |||
| |||
| would it work to load the second swf into the first and then pass the variables to it from the first swf? if so use Object(NameOfSecondSWF).FuncunctionYouWnatToCall(V ars) if however your trying to do all the work on the server you may need to use a PHP file which can do all kinds of cool stuff like calculate data and send it back, communicate with a database and even make new files on your server passed to it from the SWF. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.