Decker
01-15-2003, 03:52 PM
Hi
I have an image of an industrial pump in one of my scenes in my fla:
Approx ten movie clips exist to the left of this main image at the same coordinates - they are all hidden and I want them only to become visible individually as the cursor is moved over the main image.
(these images show more 'exploded' detail)
As an example, an instance of one of the movie clips is called
exploded_non_return_valve
and this is invisible when the scene is initially run by using
_root.exploded_non_return_valve._visible=false;
in the frame where the image would normally appear.
I want an image map effect on the main pump image so that when the cursor is moved over the image, invisible buttons will allow the blown up movie clip images to become visible and then invisible again when the cursor is moved off the invisible button.
The instance of the button has the following script:
on (rollOver) {
setProperty("exploded_non_return_valve", _visible, "true");
}
on (rollOut) {
setProperty("exploded_non_return_valve", _visible, "false");
}
The hand cursor appears when I test the movie and move over the 'hot spot' but the instance of the exploded_non_return_valve does not appear?
Cannot seem to get this to work? Any help would be greatly appreciated.
Thanks in advance.
I have an image of an industrial pump in one of my scenes in my fla:
Approx ten movie clips exist to the left of this main image at the same coordinates - they are all hidden and I want them only to become visible individually as the cursor is moved over the main image.
(these images show more 'exploded' detail)
As an example, an instance of one of the movie clips is called
exploded_non_return_valve
and this is invisible when the scene is initially run by using
_root.exploded_non_return_valve._visible=false;
in the frame where the image would normally appear.
I want an image map effect on the main pump image so that when the cursor is moved over the image, invisible buttons will allow the blown up movie clip images to become visible and then invisible again when the cursor is moved off the invisible button.
The instance of the button has the following script:
on (rollOver) {
setProperty("exploded_non_return_valve", _visible, "true");
}
on (rollOut) {
setProperty("exploded_non_return_valve", _visible, "false");
}
The hand cursor appears when I test the movie and move over the 'hot spot' but the instance of the exploded_non_return_valve does not appear?
Cannot seem to get this to work? Any help would be greatly appreciated.
Thanks in advance.