No, the point of those links is that SWF's inherently have all those 
functions, like goto frame and play.  If the SWF is playing some sort of 
video, like a FLV or something, then yes, it has to specifically support 
some sort of additional API that lets you control that... but a standard SWF 
should be able to be "reloaded" (that is, restarted in animation, by doing a 
set of GotoFrame() and Play() calls).

--Kyle

--------------------------------------------------
From: "spherop" <[email protected]>
Sent: Monday, January 12, 2009 11:54 AM
To: "SWFObject" <[email protected]>
Subject: Re: Replaying SWF from JS call

>
> so then, just to summarize, the flash movie has to have internal
> support for the .Play() method? it's not an automatic thing.
>
> thx for all the help.
>
>
> On Jan 11, 8:38 pm, "Getify Solutions, Inc." <[email protected]> wrote:
>> I don't think you looked at the 3 links 
>> here:http://code.google.com/p/swfobject/wiki/api#SWF_native_methods_and_pr...
>>
>> Specifically, the first one lists "GotoFrame()" and "Play()" functions 
>> which
>> should do what you're looking for. Basically, these are native methods
>> exposed on a SWF to javascript, which means you can call them directly 
>> from
>> your javascript code.
>>
>> But, this is not a swfobject issue at all, so any further help you need,
>> you'll need to ask in other forums like actionscript.org or kirupa.com.
>>
>> --Kyle
>>
>> --------------------------------------------------
>> From: "spherop" <[email protected]>
>> Sent: Sunday, January 11, 2009 10:20 PM
>> To: "SWFObject" <[email protected]>
>> Subject: Re: Replaying SWF from JS call
>>
>>
>>
>> > I have read this ... I don't see a play or replay event .. which is
>> > why I am posting here to try to understand how one does this?
>>
>> > On Jan 11, 2:19 am, Bobby <[email protected]> wrote:
>> >> Please read "SWF native methods and properties" on the API
>> >> docs:http://code.google.com/p/swfobject/wiki/api
>>
>> >> On Jan 10, 6:03 pm, spherop <[email protected]> wrote:
>>
>> >> > I am looking for a way to tell a swf to replay itself from JS.
>>
>> >> > I am working on a project where there are 2 different swfs that work
>> >> > as drop downs when user mouses over 2 diff anchor tabs.
>>
>> >> > On FF, Safari and Opera, when I show and hide (display:visible/none)
>> >> > via JS the parent divs of the swfs, the swfs replay each time 
>> >> > they're
>> >> > shown -- which is the desired behavior in this case (replay is an
>> >> > animated dropping down of the swf panel.)
>>
>> >> > On IE, however, the swfs do not replay each time they're shown.
>> >> > Instead they are displayed in their already dropped down state which
>> >> > is not what we need.
>>
>> >> > I am not coding the flash side of this but am wondering how best to
>> >> > get the swf to replay from a JS call. I am using SWFObject to load 
>> >> > the
>> >> > swfs. Is the solution to support this inside the swf? Or is there a
>> >> > way to do this that is inherent?
> >
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to