Customizing Colors for Flash MX 2004 Components
I know many of us have seen the Macromedia site since the release of MX 2004. In the header of the site as it introduces the product it has what seems to be two Flash components buttons. However the default color (which is normally green) is customized. I'd be curious to know how this could be implemented on the various form components, as having only green for selecting an object can definitely change how the interface is looked at.
Comments
The Solution
Customizing Colors for Flash Components
Well after seeing all of the users that have read this request and rated it a 4 out of 5. I thought I would really try to figure this stuff out myself.
It was much simpiler than I could have ever imagined it to be.
First, of course, give your component a name (in this case I have a button called btnMain).
Next, click Frame 1 and write the following ActionScript:
This will now turn your dreadful green button to a nice calm blue.
Three of these Halo Colors are available: haloGreen (default), haloBlue, and haloOrange. However you can easily set another color type using:
This is the same for any of the colored components: data grid, accordian, whatever.
Hope you make good use of it.
more on component customization
You must me logged in to write a comment.