PDA

View Full Version : Cross-.swf communication: text variables


kennethpardue
10-28-2002, 03:07 PM
I'm trying to make a dynamic text field read a variable from a loaded swf file, not quite sure how to do that.

Am I correct in thinking that I must load the swf file (which contains a variable with the text that I want to load) into a level other than the main timeline? But from there, how can I get the dynamic text field to read from that swf variable?

Thanks in advance! :D

Ken

jimburton
10-29-2002, 11:19 AM
it doesn't have to be in another level, it's more straightforward to load your swf into some mc like:

mc.loadMovie("myswf.swf");

then all properties/variables of myswf are accessible through mc (eg mc.variable1, etc)...