Skip to content
rondevera edited this page Sep 13, 2010 · 3 revisions

Overview

Each skin has two halves:

  1. SWF asset file: The symbol names in the SWF file may be anything related to the names below.
  2. ActionScript classes/constants: The classes and constants must use the names below.

ActionScript specifications

Each skin must have the following classes and constants:

  • BGBlock
  • FONT_PRIMARY:String
  • FONT_PRIMARY_BOLD:String
  • ErrorBG
  • ErrorIcon
  • BGChatroomRoster
  • Controls:
    • ButtonBasic
    • ButtonBasicHover
    • ButtonBasicActive
    • BUTTON_COLOR:uint
    • BUTTON_HOVER_COLOR:uint
    • BUTTON_ACTIVE_COLOR:uint
    • BgTextInput
    • TEXT_INPUT_HEIGHT:uint
    • TEXT_INPUT_COLOR:uint

Each skin should have the following classes and constants:

  • BGStage
  • Logo
  • LOGO_WIDTH:uint
  • LOGO_HEIGHT:uint
  • Controls:
    • BUTTON_HEIGHT:uint
    • TEXT_INPUT_PADDING_N:uint
    • TEXT_INPUT_PADDING_E:uint
    • TEXT_INPUT_PADDING_S:uint
    • TEXT_INPUT_PADDING_W:uint
    • LABEL_COLOR:uint
  • Sounds:
    • SoundChatMessage
    • SoundSignIn
    • SoundSignOut
    • SoundStartGame
    • SoundWin

Each skin may have the following classes and constants:

  • SoundButtonClick

Clone this wiki locally