Microsoft
Software
Hardware
Network
Question : Button rollover to target movie clip within another movie clip
I'm creating a map where users can rollover icons in the legend to highlight areas of the map; conversely, they can rollover areas of the map to highlight the associated icons in the legend. For some reason I'm not able to target the animations in the second level "map" movie clip.
The legend is at the _root level. It contains:
- buttons to trigger the rollover actions
- associated highlight animations (separate from the buttons)
The map (instance:"map") contains:
- the map (which can be panned and zoomed)
- buttons over certain areas of the map to trigger the rollover actions
- associated highlight animations (separate from the buttons)
- A giant button area that allows the map to be panned / dragged around.
Because the map can be panned and zoomed, the associated rollover buttons and animated clips need to be contained within the "map" clip.
All actions are at the root level.
The legend buttons (at _root) trigger the animated highlights on the legend icons (at _root), but NOT the map highlights (at _root.map).
The map buttons (at _root.map) also trigger the animated highlights on the legend icons (at _root), but not the map highlights (at _root.map).
It doesn't seem to matter whether is use a relative path or add "_root" to make it absolute - I can't trigger the animations at _root.map. It also doesn't seem to matter whether I target frame numbers or frame labels.
**********
To simplify:
ROOT = icon buttons; icon animations <--ANIMATIONS WORK FINE
"MAP" CLIP = map buttons, map animations <--CAN NOT TARGET FROM EITHER SET OF BUTTONS
**********
Forgive me for not posting the FLA, but it's massive.
The actions for the legend buttons are essentially:
icon1_button.onRollOver = function() {
icon1_animation.gotoAndPla
y("fadein"
);
map.area1_animation.gotoAn
dPlay("fad
ein");
};
The actions for the map buttons are essentially:
map.area1_button.onRollOve
r = function() {
loadMovie("infobubble.swf"
, holder_mc); // I assume irrelevant to this problem
new Tween(holder_mc, "_alpha", Regular.easeIn, 0, 100, 4, false); // I assume irrelevant to this problem
icon1_animation.gotoAndPla
y("fadein"
);
map.area1_animation.gotoAn
dPlay("fad
ein");
};
I've read that some people have had trouble targeting animation clips contained in clips that also contain buttons, but I haven't found a solution - and I've never had this problem before. Maybe I'm missing something obvious? Any help would be much appreciated!
Answer : Button rollover to target movie clip within another movie clip
OK, that was too much information... I dumbed this down in Question #23677143 and actually got some responses. Please close.
Random Solutions
Exchange 2007 SMTP Issue
Benefits of Restarting your computer.
HP Thin Client Configuration Questions
mirroring with disconnected status
Sybase Central Found server but connection error occurred
Missing mapped network drives because Novell Client cannot find Server.
How to mount a new drive in a folder using apache fedora core?
HTTP errors - occurred after infection by trojan
bind_columns & determining fieldnames
Open 1 form close another - only 1 form active at a time