This Should Be Easy

This should be so easy :frowning:
What the hell is wrong with me? I’m starting to question my sanity…

Anyway, I’m using loadMovie() and then trying to go to a specific frame within it:

_root.loadMusic.loadMovie("song.swf");

Then there’s a “Play” and “Stop” button. Let’s look at the Stop button. (Assume the above song has fully loaded.) Here’s my actionscript:

// songClip is a movie clip within song.swf

on(release) {
     _root.loadMusic.songClip.gotoAndStop(_currentFrame);
}

When I replace “currentFrame” with a number, say 10, it doesn’t work either. This should be so simple but I just don’t get it.

hey,
you can load your Movie into a level like loadMovieNum (“audio.swf” , 10). and then target your movie as you would a level :


_level10.gotoAndStop(_currentFrame);

remember in the movie that you’re putting on _level 10 you need to have a song imported as streaming sound and don’t forget to extend frames in that movie - just add blank frames untill you see the end of sound. A streaming sound will only play while there are frames for it to play on.

And I think you want _currentframe not _currentFrame…not positive, but fairly certain.

Adam

*Originally posted by Adam14 *
**And I think you want _currentframe not _currentFrame…not positive, but fairly certain.

Adam **
fairly right.