skip ahead to content

we love web standards, css, html, actionscript, php, javascript, accesibility and usability

« Del Taco’s AllNightLongBaby.com Database Fun! PHP Image Watermarking »

SWF Communication and XKCD Christmas

Over the last few months I have been playing with C++, ASP, MySQL, Perl, Javascript, AS and PHP. In that time I have learning to make the web languages communicate with one another and figured I should post something to make SWF to SWF communication as easy as possible (the way it was designed to be).

Preferred Using Globals:

first.swf
_global.BruceLee = Oaklandish;

second.swf
this.varForThisSwf = _global.BruceLee;

Loading into levels:

_level1.BruceLee = _level2.BruceLee;

Loading into movieclips:

Swf1_mc.BruceLee = swf2_mc.BruceLee;

And now for something completely different…
Family going to bed at 10 PM is so much worse than jet lag.

Wednesday, January 16th, 2008 at 2:42 am and is filed under actionscript. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply