[SWFObject] Adding vars to SWFobject in Flash runtime.

Martin Eiler | Cumuli martin at cumuli.net
Tue Jun 27 08:48:25 PDT 2006


Hi

Does SWFobject support loading vars into flash via a javascript?

Im not a programmer, but I hope you get the idea what im asking for.?

 

Like:

 

<head>

<script type="text/javascript" src="swfobject.js"></script>

</head>

 

<body>

<div id="flashcontent"></div>

          

<script type="text/javascript">

                   // <![CDATA[

                   

                   var so = new SWFObject("spvideo.swf", "video", "781px",
"522px", "8","" , true);


                    so.addVariable("flv_path", "flv/video1.flv");

 


                   so.write("flashcontent");


                   // ]]>

</script>

 

<a href="#" onclick="addvar_to_SWFobject(video, flv_path=flv/video2.flv')" >
See other movie </a>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060627/ce37b392/attachment-0005.htm>


More information about the Swfobject mailing list