hello
i have problem with my buttons. they have animation for rollover/out. it works fine, but when i try to use it with frames on which i applied some transition animation, it doesn’t work.
this is my code(1) for button animation:
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
and this is the code(2) for frame transition:
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = “2program”;
_root.container.loadMovie(“2program.swf”);
} else if (_root.currMovie != “2program”) {
if (_root.container._currentframe>= _root.container.midframe) {
_root.currMovie = “2program”;
_root.container.play();
}
}
}
the problem is when i don’t use button animation, the transition works, but if i want to use them both, it doesn’t.
i uploaded the fla and 2program.zip which containes movie my flash loads. try movie with and without code(1) which is inside “button program” movie on action layer.