I am trying to use a button on stage to load a swf and then on subsequent presses, advance to next frame.
The movie loads, but on subsequent presses, it either reloads the movie, or replays the 1st frame.
So I believe the 1st Two lines work, but the rest?
or shpuld I go about this a different way? Suggestions?
Attach Code
on (press) {
this._parent.picLoader.loadMovie(“show_01.swf”,“picLoader”);
if (this._parent.picLoader.show_01.swf._currentframe == this._parent.picLoader.show_01.swf._totalframes) {
this._parent.picLoader.show_01.swf.gotoAndStop(3);
} else {
this._parent.picLoader.show_01.swf.nextFrame();
}
}