PDA

View Full Version : How do i goto and play two frame labels in a row?


anousht
08-29-2008, 02:31 AM
Here is the code i'm using. I'd like to play one frame label, and then go and play a second one. Is this possible? Thanks!

stop();

this.onEnterFrame = function(){
if(rewind == true){ //if rewind switch is set to true play backwards
prevFrame(); // play backwards
}
}

this.onRollOver = function(){
rewind = false; //set variable (or switch) that decides wether ot not to play backwards...
play(); // play this movie clip.. (grow the button(tween));
}

this.onRollOut = function(){
rewind = true; //set or rewind switch to true so it will play backwards...
}
this.onPress = function() {
_parent.gotoAndPlay("FloatDown");
}

gnomeontherun
09-02-2008, 08:41 PM
I don't know what you are trying to do here, the code does nothing like you want?