1 person found this helpful
Put a trace inside your onSoundComplete function to make sure the function is executing. If it is executing then the code within it should work and the problem might lie elsewhere. You might try using the button approach just to check that it still works in this swf.
I have a trace that is beeing output when the onSoundComplete event is activated, and it works.
I have just now tried to add a button to the SWF and assign it an FSCommand. It did not work. I even tried to use the HTML from the test SWF, changed the IDs to match the new SWF and still not working... i'm getting clueless.
Do you have any other ideia that might help me?
Have you though about using the ExternalInterface class instead of FSCommand?
It is the more modern approach to communicating between Flash and the web page. You should be able to find some helpful info if you search Google. Here's a link to an article that covers numerous forms of communications including the ExternalInterface approach.
If going that route doesn't appeal to you, turn your attention away from the problem you thought you had and try to recreate what you say you had working from the html end.
Thanks a lot Ned,
I opted for the ExternalInterface (which I was not aware existed), and it works flawlessly.
fscommand is dead, long live ExternalInterface!!!!