<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=419453804-11082006><FONT face=Arial
color=#0000ff size=2>Tim.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=419453804-11082006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=419453804-11082006><FONT face=Arial
color=#0000ff size=2>Geoff has been kind enough to roll a version which
integrates the macromedia javascript integration kit with
swfObject.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=419453804-11082006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=419453804-11082006><FONT face=Arial
color=#0000ff size=2>test page:<BR><A
href="http://blog.deconcept.com/code/intkit/so_integrationkit.html">http://blog.deconcept.com/code/intkit/so_integrationkit.html</A></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=419453804-11082006><FONT face=Arial
color=#0000ff size=2>download:<BR><A
href="http://blog.deconcept.com/code/intkit/swfobject_jskit.zip">http://blog.deconcept.com/code/intkit/swfobject_jskit.zip</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=419453804-11082006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=419453804-11082006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=419453804-11082006><FONT face=Arial
color=#0000ff size=2>I have been using it successfully to read / write data on
numerous projects.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=419453804-11082006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=419453804-11082006><FONT face=Arial
color=#0000ff size=2>Cheers.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=419453804-11082006><FONT face=Arial
color=#0000ff size=2>Aran</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> swfobject-bounces@lists.deconcept.com
[mailto:swfobject-bounces@lists.deconcept.com] <B>On Behalf Of
</B>ReDrUm<BR><B>Sent:</B> Friday, 11 August 2006 2:32 PM<BR><B>To:</B>
swfobject@lists.deconcept.com<BR><B>Subject:</B> [SWFObject] swfObject +
Javascript to Flash communication.<BR></FONT><BR></DIV>
<DIV></DIV>
<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></BLOCKQUOTE></BODY></HTML>