A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Mouse over mouse out

  1. #1
    Junior Member
    Join Date
    Aug 2000
    Posts
    9
    I have a movie clip where I have 4 buttons. When the mouse is over a button it plays a small animation and keeps looping. Each button has a different animation.

    The action I have on each button is

    On (Roll Over)

    Go to and Play ("Breakfast")

    End On


    with a different label for each

    at the end of the animation I have

    Go to and Play ("Breakfast")


    so it will loop.

    I however only want it to loop when the mouse is over the button, when the mouse goes off the button I just want it to go to a specific frame and stop.

    I tried to add an extra onMouse event but it does not allow that.

    Help. Please give as detailed answer as possible. Thanks

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    114
    Hmmmm.....give this a try.

    I'm assuming that you added the code for each button by clicking it's instance on the stage....then put in in the Actions tab...correct?

    Well, if that is the way you did it I think the problem is just that when you tried to add another mouse event, you were still inside of the previous mouse event....flash won't allow this.
    Just click on the last line of code in the Actions tab, then try adding another Mouse Event.

    Let me know if this works, if not I'm sure we can figure something else out.

    Cheers,

    Spliffster

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center