I am having problems with the triggering animations with the onMouseOut event. I have several images that will expand when they are moused over then shrink when the cursor is moved off the image. for some reason, some of my images are getting stuck in the onMousein state even when the cursor is moved off the image. If I refresh the screen they work fine. I use the same code for all the images. Here is the code.
export function image4_mouseIn ( event ) {
timeline
. add ( $w ( ‘#image4’ ), { duration : 200 , opacity : 1 , scale : . 5 , y : 0 , x : 210 })
. play ()
}
export function image4_mouseOut ( event ) {
timeline
. add ( $w ( ‘#image4’ ), { duration : 200 , opacity : . 01 , scale : . 04 , y : 75 , x : 210 })
. play ()
}
Does anyone have any ideas on how to solve this problem?