hi all togehter,
I´ve got a little problem regarding to the the behavior of my navigation.
The navigation should work like this:
when i roll over home then the mc shall play frame from home 2-14 and stop.
rollout home the mc shall play from from home 15-30 and go back to frame 1 and stop.
that all works fine.
if the home is clicked/released and I release test, home shall play from 30-45 and goto 1 and stop. that doesnt work...
everything inside the Btn-mcs is also scripted with stop at the specific frames to stop(); the movie.
here is the code ive got so far:
Code:
home.onRollOver = function() {
if ( home == 2) {
stop();
}
else{
this.gotoAndPlay(2)
}
};
home.onRollOut = function() {
if ( home == 2){
stop();
}
else{
this.gotoAndPlay(15)
}
};
home.onRelease = function() {
loadMovie("home.swf", "mcholder");
home = 2
if(test==2){
test.gotoAndPlay(31)
test = 1
}
};
//btn test:
test.onRollOver = function() {
if ( test == 2) {
stop();
}
else{
this.gotoAndPlay(2);
}
};
test.onRollOut = function() {
if (test == 2){
stop();
}
else{
this.gotoAndPlay(15);
}
};
test.onRelease = function() {
loadMovie("test.swf", "mcholder");
test = 2
if(home==2){
home.gotoAndPlay(31)
home = 1
}
};
thanks in advance.
best tuu