A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: A button that changes color after press...?

  1. #1
    Senior Member
    Join Date
    Oct 2000
    How do you do this? I want to be able to assign on mouse event actions to the button as well, so embedding it inside an mc is out of the question (since you cant give buttons instance names). Ive come across this problem several times... please give me a hint...

  2. #2
    Junior Member
    Join Date
    Aug 2000


    What you could do is have the button inside a movie clip that has an instance name. You could then add your Onmouseevent to the button and telltarget back a level and target the movie clip that contains the button.

    I probably could have written that in a clearer fashion. Good Luck

  3. #3
    Join Date
    Mar 2001
    Similar to what frazeart said...

    The way I construt my complex buttons is to create a movie clip with 3-4 frames, each frame being a different state of the button. Then I place my image/movieclip on the frame and place an invisible button behind it.

    Hope this helps.



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