Groups | Blog | Home
all groups > flash actionscript > june 2004 >

flash actionscript : Newbie: IS this right?



HeavingScrollLock
6/10/2004 10:51:11 PM
Hi, I'm sorry this maybe a stupid question:-

I have a Movie Clip that contains an invisible button. I have attached a sound
to the Over Frame. That plays fine when I move the mouse over it.

Now I have added two event handlers onRollOver, and onRollOut to my Movie Clip
(they are empty at the moment) - these events fire no problem, but I have lost
the sound. If I comment out these event handlers - the sound returns.

Is this normal behaviour - If you handle an event in the parent does it block
the event firing in the children?

Yours Confused.

A Newbie
cypherdog
6/10/2004 11:13:44 PM
Yeah, it sounds like the movieclip and the button don't know which events your wanting to trigger.

Is there a reason why you can't make the button do what your wanting the movieclip to do?

mercl
6/10/2004 11:22:06 PM
it should work, are u shure you have:
on the button:
on(rollOver) {
// something
}
on (rollOut) {
// something
}


AddThis Social Bookmark Button