the embed I'm trying to stop autoplaying has 'allowscriptaccess="always"', but I'm trying to figure out how to set the property!
views:
86answers:
1
A:
Confusing,
you have a swf and you want to stop autoplaying. autoplaying ? the timeline, some audio/video ?
do you have access to the fla ? If not, do you know the structure of your swf ?
for timeline, all you need is a stop() call, which is easy peasy if you have the fla, if you only have the swf, the only thing that comes to mind is to make a new swf that either loads the original swf and in the Event.INIT handler on you loader's contentLoaderInfo's instance, do event.target.content.stop();
depending on what you use, you could embed that swf and access the original swf without any handlers and you'd end up with 1 swf in the end instead of 2.
George Profenza
2009-08-19 20:54:09
The embed is using a blip.tv player, which I don't have direct control over. We just didn't want to have to ask the client to make another player on blip.
Aaron Mc Adam
2009-08-20 10:08:21
it would be great if there would be an API for the player, then you would know what methods to call to stop the player, etc.If not, there's always the long way of loading the content, looping through the children, use describeType() to introspect instanced, etc.
George Profenza
2009-08-20 12:24:34