[SWFObject] Passing vars between swfs of different Flash Versions

Dominik Stankowski swfobject at stankowski.ch
Mon Sep 25 00:14:30 PDT 2006


Hi

I am using swfobject to check the Version of a user's Flash Player.

I have one swf which is called by swfobject, it is published in Flash
Version 6 in order to give users with older Flash Players the chance to
see something in Flash and to let them do a so called ExpressInstall
(auto update of Flash, available from Version 6.65).

Once the version-check passed, another Flash file gets loaded using
LoadMovie. This second file is published in Flash 8 and contains the
main application.

As it is the first file which is called from the HTML-file (using
swfobject), I have to pass variables from the HTML to the first and from
the first to the second Flash file.

Unfortunately, the variable passing between the two Flash files does not
work, if the Flash version is different. If I use Flash 8 to publish the
first Flash file, the variable passing works fine, but then it does not
show up correctly in older Flash versions. If I use Flash 6 to publish
the first Flash file, it shows up correctly, but the variable passing
does not work...

Any ideas?

Cheers,
Dominik




More information about the Swfobject mailing list