[SWFObject] js integration kit How to load vars in movie directly

Geoff Stearns geoff at deconcept.com
Tue May 30 11:00:02 PDT 2006


well, you can't use window.onload to send data into your flash movie,  
because your flash movie might not be loaded yet.

if you just want to pass data into your flash movie for use when the  
movie first loads, you should use flashvars - or the addVariable()  
method when using swfobject.



On May 30, 2006, at 12:57 PM, Jan Kratochvíl, FlashMedia.cz wrote:

> I tried to load the vars in the movie directly - but without success.
>
> On your page
> <a href="javascript:void(0)" onclick="swf.call('displayData', 'Some  
> text in here!');">Click me to send text to flash!</a>
>
> I need to have vars onLoad JS event
> Is it possible?
>
>
> Message: 1
> Date: Tue, 30 May 2006 00:04:47 -0400
> From: Geoff Stearns <geoff at deconcept.com>
> Subject: [SWFObject] js integration kit + swfobject
> To: swfobject at lists.deconcept.com
> Message-ID: <47EB04C6-7311-4FC8-B1D1-D68A10532C9E at deconcept.com>
> Content-Type: text/plain; charset="us-ascii"
>
> ok, i think i have it all set. anyone using the js integration kit
> that wants to switch over to this new version?
>
> or if you just feel like installing it and testing it out on as many
> browsers as you can, that would be very helpful:
>
> test page:
> http://blog.deconcept.com/code/intkit/so_integrationkit.html
>
> download:
> http://blog.deconcept.com/code/intkit/swfobject_jskit.zip
>
>
> you use it basically the same way as the 'regular' integration kit,
> only it's fewer files (no more .vbs file) and it uses swfobject for
> flash embedding / detection, so there is no duplicate code if you are
> using swfobject for your project anyway.
>
> let me know if you find any bugs.
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list