ActiveDen

Scale Buttons

Description & Features

These cool buttons have a special feature which makes them so beautiful to play with. When you rollover each button, its animation (scaling of the button) always finishes before its reversed.

There are two versions of the buttons: scale type horizontal (scaling from left to right), and scale type vertical (scaling from top to bottom). (set from xml)

There are 4 settings: upSpace, downSpace, leftSpace, rightSpace which determine how much additional space will be added above, below, left or right of the textfield inside of each button. By default, background is the same size as textfield. (set from xml)

You can set text placement inside each button to left, center or right. (set from xml)

You can specify wheather all buttons will be the same width. (set from xml)

You can set button alignment to left or right (this wont have any effect if same width = true). This is controlled by special class for alignment. You dont need to use it, you can align/position your buttons on the stage as you prefer.

There are 4 color settings: top textfield color, top background color, bottom textfield color, bottom background color.

By default, when you rollover a button with you mouse, colors of the textfield and button background are reversed.

Ofcourse, you can specify different colors for rollovers through xml.

Features:

  • All major settings controlled through xml!
  • Change colors through xml
  • Set button background dimensions through xml
  • Set text placement inside button through xml
  • Set button text through xml
  • Set button url links through xml
  • Set speed of the rollover effect through xml
  • Set active button to be disabled at start through xml (or leave it to none)
  • Set wheather to use button mode or not through xml
by
by
by
by
by