This content has been marked as final. Show 3 replies
well I can't be sure not knowing the rest of the document's structure, but it looks like you have some scope problems here.
1) remove the 'this' keyword from onSoundComplete, if the 'sound_obj' is local to the frame it shouldn't be needed.
2) I noticed you have a '_global' reference to the 'song_nr' var, yet you are not using the _global within the the conditional expressions.
3) just wondering if the arrays 'songfile' and 'songname' are within the same scope as this frame, they would need to be, or have a reference to their locations.
This is all of the code: Please help! I am a little rusty on my ActionScript.
I thank you.
Hey BB, could you repost that code using the 'Attach Code' button, clock on the 'reply' link at the top of the message window.