A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: down action on a button

  1. #1
    Member
    Join Date
    Feb 2002
    Posts
    69

    down action on a button

    Hi,

    I'm creating a button with an MC aninmation for the down action, only problem is, you have to keep your finger on the button to see the animation... how can I make the MC animation play through with just a single click of the mouse?

    Oh, just thought, I'm also trying to make it appear as if lines are growing out of the button but how do you tween a line? I can't put a key frame on two growth points as I can't motion tween something that's not a symbol and if I create a symbol I can't edit it unless I go in a level... shape tween doesn't seem to work either and I though about using a mask to reveal the line, but the line goes round a corner... I'm sure it's probably simple, but these tree are getting in the way of the wood...

    Thanks

    M
    Last edited by Matthew78; 11-11-2003 at 09:18 AM.

  2. #2
    FK's Giant Steve_w_V's Avatar
    Join Date
    Mar 2003
    Location
    San Jose, California
    Posts
    2,113
    code:
    on(press, release){
    path_to_your_mc.play();
    }

    The other day, I bought a box of animal crackers. On the side, it said "Do Not Eat if Seal is Broken". I opened the box and sure enough...

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