[SWFObject] Passing vars between swfs of different FlashVersions

Dominik Stankowski swfobject at stankowski.ch
Mon Sep 25 01:51:44 PDT 2006


Hello Aran

Thanks for your email.

> As long as the user has flash player 6.0.65 or above (r65
> player can understand AS2 code, so the express install code
> will work (as long as it is on frame 1)), you don't need a
> separate file to do the express install. You publish your 1
> content file as 8, and set the swfObject requirements as v8,
> and add the expressinstall flag to true.

Yes, but I have problems publishing this file in Flash 6, some elements
are missing. I do not know why, it is a Flash graphic which causes that
problem. Normally, a Flash graphic should show up correctly in Flash 6
(which is the case when published as Flash 6 version).

> BTW - How are trying to pass the vars to the 2nd file ?

The flash variable in the first swf is defined as _root-variable. In the
second swf I try to access this variable, but it is undefined. I do not
use _lookroot. Everything works fine if the first movie is published in
v 8.0 and the second in v. 8.0, too. But it does not work if the first
movie is published in v. 6.65 and the second in v. 8.0.

Any further ideas?

Cheers,
Dominik



More information about the Swfobject mailing list