Groups | Blog | Home
all groups > flash actionscript > april 2005 >

flash actionscript : Buttons leaking through movie clips


Rich146
4/2/2005 2:55:13 PM
My buttons from a lower layer are active when a movie clip is opened on the
next layer above. I could move the active mc to another spot on the timelime
but that is a bit cumbersome. Isn't there a way to have the mc load on another
level w/o the button hit area from the layer below being active on the mc
above??? I need it to be simple cause I'm not real programmy. Thanks in
advance Sophia
I flash therefore I am
4/2/2005 6:09:46 PM
If your movie clip has not buttons in it, you can give it a mouse action
like:

my_mc_instance_name.onRollOver = function() {

this.useHandCursor = false;

}

It won't look like a button but it will be one and prevent anything
underneath from being reachable.

If your MC has buttons, you can do a similar thing except place a rectangle
MC with alpha 0 in the lowest level of that clip, and give the rectangle the
same script as above.


[quoted text, click to view]

aquarian911
4/3/2005 9:54:42 AM
if i follow u correctlly i had the same problem
AddThis Social Bookmark Button