Generally if you want browser to/from Flash communication, this should be done through ExternalInterface. This allows you to call any Flash method from JavaScript or vice versa. There are many tutorials on this, and there are test suite examples using SWFObject here:
Static publishing: http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_com.html Dynamic publishing: http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_dynamic_com.htm l Aran -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of spherop Sent: Monday, 12 January 2009 3:21 PM To: SWFObject 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 -~----------~----~----~----~------~----~------~--~---
