The SWFObject callback function is only called with a true / false value as to whether the Flash Dom object was created or not for embedding, so that option will not help in regards to doing something on the page after a certain animation frame / time has been reached.
As Sam said, using ExternalInterface method to call a js function on the page from within your Flash file is the best option. It could be setup to be generic (called as a beacon every x seconds), or specific (called when frame x or label x is reached in the timeline). General Flash sites and Google are definitely the way to go on this. On Mon, Jan 10, 2011 at 12:25 PM, Sam Sherlock <[email protected]>wrote: > swfobject does allow you to setup a callback (for either static or dynamic > and including createSWF too) > > however I think you would be better off setting up some actionscript > witihin your flash, > as this may be a better way to ensure that the animation has played. > > but if you take this route it is a question for some other forum eg kirupa > as it > deals with flash from within rather the object within a page > > - S > > > > > On 10 January 2011 17:47, Mlle <[email protected]> wrote: > >> Hi, >> >> It is possible to have a flash animation time out after a certain >> number of seconds once it is embedded using swfobject? >> >> -- >> 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]<swfobject%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/swfobject?hl=en. >> >> > -- > 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]<swfobject%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > -- 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.
