[SWFObject] Adding vars to SWFobject in Flash runtime

Geoff Stearns geoff at deconcept.com
Tue Jun 27 10:48:04 PDT 2006


if you are using externalinterface, this should work just fine...

just make sure you set up all the functions you need to call in the  
flash movie.


On Jun 27, 2006, at 1:13 PM, Danya Henninger wrote:

> Okay -- this is my last revision -- sorry for the multiple posts --  
> trying to repurpose and slim down my actual code introduced some  
> errors.
>
> The setting of the variable "var flashVideoPlayer" can't occur  
> until the page loads.  So the script should really be something like:
>
> <head>
> ...
> <script type="text/javascript">
> var flashVideoPlayer;
> function initialize(){
>  flashVideoPlayer = document.getElementById('video');
> }
> function callFlashPlayVideo(flv_path) {
>     flashVideoPlayer.playVideo(flv_path);
> }
> </script>
> ...
> </head>
> <body onload="initialize">
>
>
> -- 
> Danya Henninger
>
> Imagic  |   www.imagicdigital.com
> danya at imagicdigital.com
>
>
>
>
>
>
> -- 
> Danya Henninger
>
> Imagic  |  www.imagicdigital.com
>
> 609.645.7755 tel
> 866.530.6608 fax
> 609.289.0411 cell
> danya at imagicdigital.com
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060627/249186be/attachment-0005.htm>


More information about the Swfobject mailing list