|
-
Anyone know how to detect (via javascript) if a swf file is done playing or is at the last frame? I need to run a javascript function once a swf is done playing and I don't have control of the authoring of the flash file. Because I don't have access to the flash source file I can't put code in the swf to pass to the javascript.
I thought about loading the swf inside my own swf, but the files I need to do the detect on will be on another domain, so I can't load the swf in my file since they are not on the same domain. As I've found the file will not display if I call it outside the domain.
If no one knows how to detect the status via javascript,
has anybody found a way around the seperate domain issue?
Thanks in advance,
Hyper
-
Hi,
according to macromedia security docs, loading a swf from another domain inside your swf should still work with the new player, but actionscripts inside your movie should not be able to access variables on the loaded movie.
What about changing the swf? Sure, you dont have access to the fla files... but if your server can load them from the other domain, and they dont rely on loading vars from that domain, a server script could add code to the very last frame
Musicman
-
Angkor-What?
http://www.webreference.com/js/tips/....html?cat=0106
Maybe you can find a thing here 
Cheers,
Gekke_Hollander
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|