FORUMS: list search recent posts

AS2 button with "clicked" state?

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Rich Kelly
AS2 button with "clicked" state?
on Aug 27, 2009 at 2:44:42 pm

How can I make a menu button in Flash AS2 that changes color after it's been clicked, so users see which buttons they've already clicked?

Return to posts index

Colin King
Re: AS2 button with "clicked" state?
on Sep 18, 2009 at 5:06:54 am

One way would be to make your "button" a movie clip, with a hidden button (i.e., nothing in the Up, Over or Down frames, just in the Hit frame) on top, and your graphics layered below, with some labelled keyframes for "Unclicked", "Clicked", etc.

Your hidden button (inside your movie clip) would have an action like:

on (release) {

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved