A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: on mouseout event of button

  1. #1
    Junior Member
    Join Date
    Apr 2002
    Posts
    2
    hello,
    I have a button in flash i want on mouseout event of that button.If i use on rollout event then both on rollover and on rollout event work simultaneously.I don't want that.

    I can't also use on, over, down properties of button as i want to run an animation on mouseover event of the button.

    Hope u will be able to help.

    thanks
    aarti

  2. #2
    Senior Member nixthinx's Avatar
    Join Date
    Sep 2001
    Posts
    200
    hi aarti,

    i'm a bit confused. what exactly do yo uwant to do? can u explain it again?

    nixthinx

  3. #3
    Junior Member
    Join Date
    Apr 2002
    Posts
    2

    mouseover event of a button in flash

    hi,

    i want to run an animation when i move the mouse over a button and then stop the animation when the mouse is not over that button.

    hope there is no confusion now.
    thanks
    aarti

  4. #4
    Senior Member Jaffasoft's Avatar
    Join Date
    Apr 2001
    Location
    On Travel
    Posts
    1,588
    Why not just put the mc in the OVER state(in that keyframe only) of the button and all the rest of the button can stay the same. It will only play then when it is moused over?

  5. #5
    Senior Member nixthinx's Avatar
    Join Date
    Sep 2001
    Posts
    200
    aarti,

    one more way i can think of doing it is, have the movie clip an instance and play it from the button. you can either do it by tellTarget or by just assigning the movie instance. This way you might be able to stop the movie on a particular frame and the next time you roll over the button the movie could start from there. instead of obvious loops.

    jaffasoft's suggestion is absolutely valid..just how much detail you wanna add!! ure choice

    nixthinx

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