Hi all,
I think this is a hard one for you
I have my buttons done and each button loads a movie into my main movie.
Now what i want is for my button to play the last few frames of one movie before auto opening a new one so…
Say i was on my main screen and i clicked “contact” this would then start my animation for the contact page and stop when the page is fully on screen now what i want is when i click “portfolio” for instance it will play the last few frames of the current movie it is showing first hen load up the portfolio (The last few frames will be a closing of the contact page)
Contact button is as follows
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function(){if (_root.mainbox_MC._currentFrame >=1 && _root.mainbox_MC._currentFrame !=6){
_root.mainbox_MC.gotoAndPlay(2);}
else if (_root.mainbox_MC._currentFrame == 30){
_root.mainbox_MC.stop();}
Portfolio button code is
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function(){if (_root.portfolio_MC._currentFrame >=1 && _root.portfolio_MC._currentFrame !=6){
_root.portfolio_MC.gotoAndPlay(2);}
else if (_root.portfolio_MC._currentFrame == 30){
_root.portfolio_MC.stop();}
Any help would be greatly appreciated