A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Animation on rollout of button

  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    98
    I want it so when the user goes off a button is plays an animation, does anyone know how?

  2. #2
    Senior Member
    Join Date
    May 2002
    Location
    Sioux Falls, SD
    Posts
    1,155
    where is your animation located? if its in a movieclip you can do somehthing like

    on (rollOut) {
    _root.mc.gotoAndPlay("animation");
    }



  3. #3
    Senior Member
    Join Date
    Jul 2002
    Posts
    223
    Or ::
    (pretty much the sameThing I think )

    on (rollOver) {
    _root.mc.gotoAndPlay("frame number where animation starts");
    }

    If you need diff' action on "Roll-over"(for start) and on " Roll-off"(for stop) give both commands to same btn & indicate frames pertinent to each action ... and maybe give adjoining btn's the command to stop each of the others ( so that scanning over all btn's doesn't create "roll-over Havoc " )

    <>R<>


  4. #4
    Member
    Join Date
    Aug 2001
    Posts
    98
    Ok thanks for the help everyone!

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