PDA

View Full Version : How to determine _level when calling a movie clip


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.

cmxsevenfoldxmc
07-25-2008, 07:45 AM
Never mind, everyone,

I found this great link that gave me all I needed to know for movieclip linking in any level: http://www.flashkit.com/tutorials/Tips_And_Techniques/Target_P-kadazuro-587/index.php?chk=no

Hope those of you who had somewhat of the same question as I did find this helpful.