[SWFObject] Adding vars to SWFobject in Flash runtime

Danya Henninger danya at imagicdigital.com
Tue Jun 27 10:13:44 PDT 2006


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060627/695ab6d8/attachment-0005.htm>


More information about the Swfobject mailing list