Hello, this is my first post here. I read the archives often, but haven't had the need to post until now. Hopefully my problem can be solved, and hopefully I will be able to help others eventually.
Here is my dilemma: I have a movie clip which is controlled by two buttons; forward and reverse. Forward just makes the movie play until it reaches a stop within it. However, my reverse function ignores all stops in the movie clip and keeps playing in reverse to frame 1.
Here is the code within the reverse button;
Code:
on (press) {
_root.onEnterFrame = function() {
_root.portfolio.prevFrame();
_root.portfolio.stop();
if (_root.portfolio._currentframe == 1) {
delete _root.onEnterFrame;
}
};
}
I tried throwing this function in to no avail;
Code:
if (_root.portfolio.currentLabel.name == "stophere") {
_root.portfolio.stop();
delete _root.onEnterFrame;
}
It seems like something so obvious... I have been trying to fix this for hours now. Please help.