A Flash Developer Resource Site

Results 1 to 16 of 16

Thread: How do you apply Motion Scripts to buttons?

  1. #1
    Junior Member
    Join Date
    Dec 2005
    Posts
    9

    How do you apply Motion Scripts to buttons?

    Hello,

    I want to apply a motion script to a button, but I can only figure out how make it rotate or spin.

    Can anybody help me with this issue?

  2. #2
    Super Moderator
    Join Date
    Jun 2000
    Posts
    3,512
    Put the button inside a movie clip and apply the motion script to the movie clip. That should work.

  3. #3
    Junior Member
    Join Date
    Dec 2005
    Posts
    9
    Quote Originally Posted by Bob Hartzell
    Put the button inside a movie clip and apply the motion script to the movie clip. That should work.
    How do you put a button inside a movie clip?

  4. #4
    Can't Re- Member gusmus's Avatar
    Join Date
    Sep 2002
    Location
    España
    Posts
    663
    click button
    click shapes
    click make into a movie clip

    click look at the help menu

    click click
    humanus somes est divinitus in ipsum
    Wiliiam Wallace

  5. #5
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244

  6. #6
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Quote Originally Posted by gusmus
    click button
    click shapes
    click make into a movie clip

    click look at the help menu

    click click
    Actually that doesn't work. The make shapes into clip doesn't work inside a button. But that's close to how it's done.

  7. #7
    Can't Re- Member gusmus's Avatar
    Join Date
    Sep 2002
    Location
    España
    Posts
    663
    Yes,, you're right, sorry about that. This works ok though.
    Attached Files Attached Files
    humanus somes est divinitus in ipsum
    Wiliiam Wallace

  8. #8
    Junior Member
    Join Date
    Dec 2005
    Posts
    9
    Wow! Thank you very much! That was a very easy-to-understand and informative tutorial. Are there any more of this kind anywhere?

  9. #9
    Junior Member
    Join Date
    Dec 2005
    Posts
    9
    Quote Originally Posted by blanius
    I can't figure out how to go back and edit it once I've made the Button. Do I need to create a new button?


    Also, is there any way for the button itself to have a motion script, like flying on to the screen or fade or anything like that?

    Are there any pre-made buttons anywhere?

    I really appreciate all the help! Thanks alot!

    -Chris

  10. #10
    Can't Re- Member gusmus's Avatar
    Join Date
    Sep 2002
    Location
    España
    Posts
    663
    There are premade buttons in the program. Make sure you have the "Libraries" zip loaded. There are many examples in there.
    Last edited by gusmus; 12-11-2005 at 05:45 AM.
    humanus somes est divinitus in ipsum
    Wiliiam Wallace

  11. #11
    Cyber-Slacker
    Join Date
    Jan 2001
    Location
    Cape Cod
    Posts
    77
    Gusmus,
    Could you tell me what version that button example was made in? I was unable to use it. It stated it was made in a later version of Kool Moves than I was using and I have 5.1.6

  12. #12
    Can't Re- Member gusmus's Avatar
    Join Date
    Sep 2002
    Location
    España
    Posts
    663
    OH OH... sorry I did it on the Beta,, Dumb me Check back later,, I'll do it on 5,1,6
    humanus somes est divinitus in ipsum
    Wiliiam Wallace

  13. #13
    Cyber-Slacker
    Join Date
    Jan 2001
    Location
    Cape Cod
    Posts
    77
    Thank You. I appreciate your efforts.

  14. #14
    Can't Re- Member gusmus's Avatar
    Join Date
    Sep 2002
    Location
    España
    Posts
    663
    Actually. just had another look and I think that 5.1.7 is the latest version. Check with Bob but I think you're a version behind. I can't go back to 5.1.6 because it is overwritten.
    humanus somes est divinitus in ipsum
    Wiliiam Wallace

  15. #15
    Cyber-Slacker
    Join Date
    Jan 2001
    Location
    Cape Cod
    Posts
    77
    Thanks, versions .6 and .7 came out back to back and I did not upgrade.

  16. #16
    Cyber-Slacker
    Join Date
    Jan 2001
    Location
    Cape Cod
    Posts
    77
    Thanks Gusmus, nice example,
    Nice Tutorial Bret! Very Helpful.

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