<div>Hi Everyone,</div>
<div> </div>
<div>Although this is not specifically an swfObject problem (I don't think), I am trying to incorporate the macromedia Flash JavaScript Integration Kit into my site using swfObject.</div>
<div> </div>
<div><a href="http://weblogs.macromedia.com/flashjavascript/">http://weblogs.macromedia.com/flashjavascript/</a></div>
<div> </div>
<div>I've ended up using the method/scripts used here in this tutorial:</div>
<div> </div>
<div><a href="http://www.mustardlab.com/developer/flash/jscommunication/">http://www.mustardlab.com/developer/flash/jscommunication/</a><a href="http://osflash.org/doku.php?id=flashjs"></a></div>
<div> </div>
<div>My aim is to attach and pass variables (containing the source of flv files) from my thumbnails onClick into my swf containing the FLVPlayBack component.<br>I have achieved this in IE however it does not work in Firefox nor Opera. I was wondering if anyone had any ideas/fixes?
</div>
<div> </div>
<div>The source code inside my swf looks as follows:<br>Frame 2:</div>
<div>
<p>// no upgrade needed, start the movie<br>stop();</p>
<p>// This is a temporary variable to set an initial video.<br>vdoVarSource = "media/TNZ-PureNZ.flv";</p>
<p>// This dynamically sets the video source externally through JavaScriptFlashGateway.<br>vdoContainer.onEnterFrame = function () {<br> vdoContainer.contentPath = vdoVarSource;<br>};</p></div>
<div>The source for the onclick within my php file is as follows:</div>
<div> </div>
<div><?php</div>
<div>// Where $flv = the source path of the flv file e.g. "media/myVideo.flv"</div>
<div>echo '<img src="'.$thumb.'" width="87" height="55" alt="'.$alt.'" onclick="setFlashVariables(\'sendmovie\',\'vdoVarSource='.$flv.'\')" />'."\n";</div>

<div>?></div>
<div> </div>
<div>You can view what i currently have at <a href="http://www.filmproducer.co.nz/TEMPLATE.php">www.filmproducer.co.nz/TEMPLATE.php</a></div>
<div> </div>
<div>If anyone knows how to get this working in IE AND Firefox/Opera (and hopefully Safari) I would greatly appreciate it.</div>
<div> </div>
<div>Thanks for your help</div>
<div><br>-- <br>Tim Keir</div>
<div> </div>