I don't have any problems getting variable assignments into the SWF file.

I have problems accessing their values when I'm playing the movie.

The SWF contains some ActionScript in frame 1 which sets variables like title="My First Movie", year=2006. But how can my Flash player access those variables when it loads and plays the movie? Are they in some oddball namespace like _root.somethingOrOther....

thx, jeff


On Jul 18, 2006, at 3:11 PM, Rifled Cloaca wrote:

Or you could create a SWF using MTASC or the Flash IDE, and replace the
variables after it is published like this guy does:

http://www.neurofuzzy.net/2005/01/27/swf-recombination/


On 7/16/06, Mike Britton <[EMAIL PROTECTED]> wrote:

I would build a "wrapper" MovieClip class extension for your compiled
SWF, and use LocalConnection to send/receive the values. That is, use
LocalConnection in both the compiled swfs and in the wrapper.  The
wrapper is the receiver and the compiled clips are the broadcasters.

http://www.osflash.org/localconnection

hth,

Mike
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to