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
XP keeps turning off wireless zero configuration
Can't connect to Exchange over VPN connection
WORKBOOK_OPEN Event not firing
To covert an access report with pictures to any editable document format retaining all the graphics and other formatting settings
how can we duplicate a MS SQL Database on the SAME server and give it a new name?
Batch Command to Rename Most Recently Created File in a Folder
Vlookup values in a column to the left of the matched cell
coverting EPS to TIFF
How can I get rid of the VISTA WELCOME SCREEN and get a normal DOMAIN Log In like Windows XP?
Limit mail delivery to users