-
Hi all,
I just want to make a simple thing : When you roll over a button, the graphic next to him desappears. The graphic is called "mimi"
I made that on the button's actions :
on (rollOver) {
mimi._visible = false;
}
But it doesn't work.. how can i do plz ?
Hacook
-
-
doesn't work :(
on (rollOver) {
mimi._visible = 0;
}
doesn't work ...
-
Maybe its something to do with the _level at which "mimi" is stored. Try this (replacing "x" with the appropriate level):
setProperty(_levelx.mimi,_visible, false);
-
on (rollOver) {
setProperty("mimi", _visible, "0");
}
-
"I just want to make a simple thing : When you roll over a button, the graphic next to him desappears. The graphic is called "mimi" "
first of all you can't do squat with a graphic. it MUST be a movieClip!!! convert it to a movie clip, with that said, I should also note that you cannot name graphics, So it seems "mimi" is the name of the graphic in the library, library name are completely irrelevent for anything, they are only their to keep you organized, and serve no other purpose.
So, after you convert your graphic to a movieclip, drag it on the stage and give it an instance name. "mimi" then your original code will work.
on (rollOver) {
mimi._visible = false;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|