Trying to create complex button

Ask a Question related to Macromedia Flash Sitedesign, Design and Development.

  1. #1

    Default Trying to create complex button

    Okay so I want to creat a button. But I want this button's rollover state to be
    a 2-3 frame animation. Kinda like the buttons on this website
    [url]http://www.team3d.net[/url]. Can anyone help?

    Do I need a different program? Is this done in ActionScripting? Any help would
    be appreciated

    Troupeslave Guest

  2. Similar Questions and Discussions

    1. How to create Button Icon from PNG?
      I don't know whether if Acrobat / Reader support using PNG as button icon. If it can how to create the icon form PNG? Thanks.
    2. Can't Create Flash button?
      I download extension falshbutton from your site. but when I Insert Flash button. It show messagebox "Can not create flash button because a...
    3. How to create a browse button
      Can you help me create a browse button with Dreamweaver MX
    4. Complex properties (Button) not persisting in webcontrol
      This seems to be a common issue and one that I have not found a solution to. What I want to do is theoreticly simple. I have tried creating...
    5. How do I create a 'print' button
      Hi My client wants a button a the bottom of cetrain pages which will enable users to click and print rather than going up to file and selecting...
  3. #2

    Default Re: Trying to create complex button

    put your rollover animation in a movie clip and then put that movie clip on
    your roll over state. Or you could have the movieclip with the animation. on
    your stage under or over your button or wherever it plays at. give it a
    instancce name of rollover. have a stop action on the first frame. In the
    rollver state of your button tell the target movie clip to goToAndPlay frame
    .. Then in the the other states of the button have the MC gotoAndStop (1).

    Don't forget in your animation movie clip it put either a stop action on the
    last frame or, if you want it to loop, a goToAnd Play (2) .

    --
    Al Winchell
    [url]www.Amazingwebs.com[/url]
    den.tigersquadron.com


    AWD Guest

  4. #3

    Default Re: Trying to create complex button

    i couldnt fully understand your problem but i hope this helps
    just put a movie clip about your 2-3 frame animation to your buttons 'Over'
    frame
    if you want to do this just by actionscript you can do it by adding the code
    to your button:

    on(rollOver){
    myTarget_mc.attachMovie("myAnimation")
    myAnimation_mc.play();
    }

    another way of doing this is making a movie clip and creating different
    frames for every animation that will play.
    then you will reference to the frames with gotoAndPlay action outside the
    movie clip

    myButton_mc.onRollOver = myButton_mc.gotoAndPlay(n);
    myButton_mc.onRelease = myButton_mc.gotoAndPlay(m);

    n here is the desired frame that the animation of rollover event is
    triggered and m is the same procedure for release animation
    etc..

    --
    ErdemA
    buckmin Guest

  5. #4

    Default Re: Trying to create complex button

    Very helpful thanx for the insite!
    Troupeslave Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139