<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css>DIV {
MARGIN: 0px
}
</STYLE>
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2>Lee.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2>This is not really an swfObject issue, but below is some
info for you.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2>Depending on the flash player version you are targeting,
you can use either the ExternalInterface classes (Flash 8), or the flash
javascript integration kit (F6/7) to talk between javascript and
flash.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2>BTW - there is also a special build of swfObject which
incorporates the js integration kit</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2><A
href="http://livedocs.macromedia.com/flash/8/main/00002201.html">F8 EI -
livedoc</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2><A
href="http://www.communitymx.com/content/article.cfm?cid=0922A">F8 EI -
tutorial</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2><A
href="http://blog.deconcept.com/code/externalinterface.html">F8 EI on
deconcept</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2><A href="http://weblogs.macromedia.com/flashjavascript/">js
integration kit - home</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2><A
href="http://www.communitymx.com/content/article.cfm?cid=D7491">js integration
kit - tut</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2>Cheers,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2>Aran</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687073100-23102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE
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>Lee
Benson<BR><B>Sent:</B> Monday, 23 October 2006 12:57 AM<BR><B>To:</B>
swfobject@lists.deconcept.com<BR><B>Subject:</B> [SWFObject] Getting variables
stored in Flash<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>Is there any Javascript function available that get at a variable stored
WITHIN</DIV>
<DIV>an SWF file?</DIV>
<DIV> </DIV>
<DIV>I have a custom made MP3 player that stores a "VarCurrentTime"
variable</DIV>
<DIV>interally in a Flash movie to track how long the sound has been
playing.</DIV>
<DIV> </DIV>
<DIV>With a standard <object> implementation, I can get at that usually
via a</DIV>
<DIV>call to
document.getElementbyId("FlashObj").GetVariable("VarCurrentTime")</DIV>
<DIV>(although this only works in IE and FireFox-- Safari doesn't seem to
like</DIV>
<DIV>it, which is why I started hunting for the SWFObject implementation
in</DIV>
<DIV>the first place).</DIV>
<DIV> </DIV>
<DIV>Is there any way to get at those internal variables with SWFObject?</DIV>
<DIV> </DIV>
<DIV>Thanks, Lee.</DIV></DIV><BR>Send instant messages to your online friends
http://uk.messenger.yahoo.com </BLOCKQUOTE></BODY></HTML>