Targetting a movieclip inside a movieclip (not related to the thread below)
Hi all,
It's been a while since i've done any flash work and i have run into a snag.
I am trying to target a movieclip (a button) that is inside another movie clip.
Basically you roll over a circle, the circle expands and reveals buttons. Targetting the buttons inside the movie clip circle is giving me problems.
I am using CS3, but i have AS set to 2.0.
For a visual here...
_root
"navigation"
"home"
Basically trying to target "home" from _root for an onRollOver command. Have tried this code
"this" doesn't work. I am posting just the navigation movieclip that i am having issues with. The only code i have on there is the inital mask animation (the expand). What i am trying to do is get the rollover and rollout command to work for the buttons (which are movieclips) inside this clip.
Also there is a bug when you drag the mouse straight down or across that gets the growing and shrinking stuck in a loop. I think this is caused by the shape hitting a point where it is trying to rollover and rollout at the same time.
I could only save it down to Flash 8 (which i guess doesn't really matter here since this is a CS3 forum) and i set it to AS 2 (or 1 i forget) for lower versions. I will ultimately be using it in AS 2.
Thanks a bunch for looking at this. I really can't think of why this is happening. Maybe i am missing something inane.
uh, well I can immediately tell from your code that you should be telling your nav to gotoAndPlay(2) , not frame 1, that's why you're getting the nasty flicker.
uh, well I can immediately tell from your code that you should be telling your nav to gotoAndPlay(2) , not frame 1, that's why you're getting the nasty flicker.
It's still happening even when changed to 2. It's not as bad, but it is still flickering.