SHARE
TWEET

IconButton.as

a guest May 6th, 2010 196 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package Components
  2. {
  3.  
  4.         import spark.components.Button;
  5.        
  6.         //icons
  7.         [Style(name="iconUp",type="*")]
  8.         [Style(name="iconOver",type="*")]
  9.         [Style(name="iconDown",type="*")]
  10.         [Style(name="iconDisabled",type="*")]
  11.        
  12.         [Style(name="iconWidth",type="Number")]
  13.         [Style(name="iconHeight",type="Number")]
  14.        
  15.        
  16.        
  17.         //paddings
  18.         [Style(name="paddingLeft",type="Number")]
  19.         [Style(name="paddingRight",type="Number")]
  20.         [Style(name="paddingTop",type="Number")]
  21.         [Style(name="paddingBottom",type="Number")]
  22.         public class IconButton extends Button
  23.         {
  24.                 public function IconButton()
  25.                 {
  26.                         super();
  27.                 }
  28.         }
  29.        
  30. }
RAW Paste Data
Top