cmxsevenfoldxmc
07-24-2008, 07:20 PM
Hi there,
I'm trying to place a movieclip on top of another movieclip (common for buttons) so that when hovered over, the button is animated.
My problem is that I'm trying to get the movie clip on top to call a specific part of the button's timeline, and it doesn't go through.
I already tried _root, _level1, _level2, and _level3 to locate the movieclip but nothing!
Here's the code for the movieclip on top:
on(rollOver) {
_level4.menu1.gotoAndPlay(30);
}
on(rollOut) {
_level4.menu1.gotoAndPlay(40);
}
It's confusing me at the moment. Hopefully I didn't confuse you guys with my own confusion lol.
Any suggestions?
Thank you very much in advance.
I'm trying to place a movieclip on top of another movieclip (common for buttons) so that when hovered over, the button is animated.
My problem is that I'm trying to get the movie clip on top to call a specific part of the button's timeline, and it doesn't go through.
I already tried _root, _level1, _level2, and _level3 to locate the movieclip but nothing!
Here's the code for the movieclip on top:
on(rollOver) {
_level4.menu1.gotoAndPlay(30);
}
on(rollOut) {
_level4.menu1.gotoAndPlay(40);
}
It's confusing me at the moment. Hopefully I didn't confuse you guys with my own confusion lol.
Any suggestions?
Thank you very much in advance.