Skip to main content
Participant
September 19, 2008
Question

How to pass variables in flash?

  • September 19, 2008
  • 4 replies
  • 326 views
May i know how to pass data from a flash files to unopened swf files? Please guild me. Thxs in advance, anyhelp is appreciated.

Regards,
louis chin
This topic has been closed for replies.

4 replies

EvericeAuthor
Participant
September 21, 2008
Yup, i am using sql server 2005 for database.

Currently i am using web services, set and
get method to pass data to sql server, but may i know how do i maintain data such as ID which is autonumber but i
need it and to pass them to other unopened swf files in AS3, so that a specific gameroom ID in the table will contain the information which is being passed all the time in different gamerooms, which is different ID as the gameroom is differentiate by the ID.
Inspiring
September 21, 2008
You cannot pass anything into "unopened" swfs because they do not exist unless they are opened. I guess you need to implement a logic that will pull the gameroom info from the server into each swf instance when user opens the file.
kglad
Community Expert
Community Expert
September 20, 2008
then you must store the data on a server.
EvericeAuthor
Participant
September 19, 2008
No, they are to be opened by players/people from all over the world.. what should i do? Its not local shared object.
kglad
Community Expert
Community Expert
September 19, 2008
if the swf files are to be opened at a later time by a user on the same computer check the sharedobject class.