Creating a new theme

If you don't want to use the Halo theme or the Sample theme you can modify one of them to create a new theme.

Some skins in the themes have a fixed size. You can make them larger or smaller and the components will automatically resize to match them. Other skins are composed of multiple pieces, some static and some that stretch.

Some skins (for example, RectBorder and ButtonSkin) use the ActionScript Drawing API to draw their graphics because it is more efficient in terms of size and performance. You can use the ActionScript code in those skins as a template to adjust the skins to your needs.

To create a new theme:

  1. Select the theme FLA file that you want to use as a template and make a copy.

    Give the copy a unique name like MyTheme.fla.

  2. Select File > Open MyTheme.fla in Flash.
  3. Select Window > Library to open the library if it isn't open already.
  4. Double-click any skin symbol you want to modify to open it in edit symbol mode.

    The skins are located in the Themes > MMDefault > Component Assets folder (in this example, Themes > MMDefault > RadioButton Assets).

  5. Modify the symbol or delete the graphics and create new graphics.

    You may need to select View > Zoom In to increase the magnification. When you edit a skin, you must maintain the registration point in order for the skin to be displayed correctly. The upper left corner of all edited symbols must be at (0,0).

  6. When you have finished editing the skin symbol, click the Back button at the left side of the information bar at the top of the Stage to return to edit document mode.
  7. Repeat steps 4 - 6 until you've edited all the skins you want to change.
  8. Apply MyTheme.fla to a document by following the steps in the previous section, Applying a theme to a document.