I cant get this to work, -heres the scenerio:
I have a movie clip called btn1, when its rolled over I want it to open movie clip twoinone.
twoinone has two movie clips that act simply as a sub-menu. The two movie clips are called sub1 and sub2. When one is rolled over I would like another movie clip to play, and this final action is where I have the problem. I get 2inone to show up, but when I try to target sub1 or sub2 nothing happens. i.e. when I mouse over sub1 the cursor doesnt turn into a hand or anything for that matter. heres my code
btn1.onRollOver = function() {
twoinone.gotoAndPlay(2);
};
twoinone.sub1.onRollOver = function() {
twoinone.gotoAndPlay(1);
};
its the second bit function that does nothing - I have also tried it as an if statement
if(twoinone._currentframe = 2){
twoinone.sub1.onRollOver = function(){
twoinone.gotoAndPlay(1);
}
};
-what am I doing wrong?
........ ok a simple work around would be to go directly to the mc (sub1) and put
on (rollover){
desired effect;
}
but I would really like to control the majority of ActionScript centrally (from the main timeline) There must be a way to do this.
thanks
hulkster
Edited by hulkster, 29 August 2005 - 11:49 AM.
