--Make a string with your vars in director, send them and separate them into
an array in flash.
--Something like this:
on transmitVars
stringVar = var1&","&var2&","&var3
setVariable(sprite(1),"stringInFlash",stringVar)
sprite(1).play()
end
--in your flash movie, put an action on the first frame where you init your
var like this:
stringInFlash = "";
--third frame:
stop();
--fifth frame:
resultArray = stringInFlash.split(",");
--Now you've got an array of your director vars
--You can also make handles execute in director from flash like this:
getURL("event: handlerName,\"parameter\"");
--note that you must escape chars like quotes and stuff.
Hope this helps.
Chris.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
John Horn
Sent: Monday, June 25, 2001 5:41 PM
To: Lingo Group
Subject: <lingo-l> Flash and Director
I need to pass about 10 different variables from Flash into Director any
suggestions as to how to accomplish this without having to send each one
seperately?
-------------------------
John Horn
Interactive/Web Developer
[EMAIL PROTECTED]
Graphica
www.graphicadesign.com
937-866-4013 x.150
-------------------------
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]