Flash animation loop control
December 8, 2005 12:00 AM
Here's one I'm starting to play around with.DOM keeps track of how many embeddded objects there are in your document.So, in your browser, while the page you've embedded your flash in runs, type (without the quotes) "javascript:alert(document.embeds[0].src)"and then hit enter. The name of the embedded flash file should show up in an alert box.Following this logic, try "javascript:document.embeds[0].StopPlay()"This should pause the swf file. Then use "javascript:document.embeds[0].Play()" to start it again.Lectora EMBEDS the external objects, it doesn't create objects BUT I'm pretty sure they can be controlled anyway.I'll work on it some more and let you know.BTW, if you're flash file isn't the first embedded object, replace the 0 with the next sequential number until you see what embedded object in the array it is)SB
Discussions have been disabled for this post