loadBar Component

 

Public Properties

loadBar inherits the MovieClip Properties
barColor | bgAlpha | bgColor | borderAlpha | borderColor | borderSize | embedFont | font | fontColor | fontSize | glowAlpha | glowColor | glowSize | glowStrength | position | radius | scaleGlass | showText | textPosition

  • barColor:Color [0x000000] Indicates the color of the loadBar progress bar
  • default = 0×009900
  • bgAlpha:Number [0 - 1] Indicates the alpha transparency value of the loadBar background
  • default = 0.25
  • bgColor:Color [0x000000] Indicates the color of the background
  • default = 0xFFFFFF
  • borderAlpha:Number [0 - 1] Indicates the alpha transparency value of the border
  • default = 1
  • borderColor:Color [0x000000] Indicates the color of the border
  • default = 0×000000
  • borderSize:Number Indicates the border thickness
  • default = 1
  • embedFont:Boolean [true|false] Specifies whether to render by using embedded font outlines
  • default = false
  • font:String The name of the font for text in this text format, as a string
  • default = "Arial"
  • fontColor:Color 0×000000 Indicates the color of the text
  • default = 0×000000
  • fontSize:Number The size in pixels of text in this text format
  • default = 12
  • glowAlpha:Number Indicates the alpha transparency value of the object specified
  • default = 1
  • glowColor:Color Indicates the color of the glow
  • default = 0×009900
  • glowSize:Number Indicates the spread of the glow
  • default = 10
  • glowStrength:Number Indicates the saturation (darkness) of the glow
  • defautl = 1
  • position:Number [0 - 1] Indicates the loadBar progress
  • default = 0
  • radius:uint 1 – Nth Indicates the corner radious of the loadBar
  • default = 8
  • scaleGlass:Boolean Indicates if the glass layer scales with the loadBar
  • default = true
  • showText:Boolean Indicates if the status TextField is visible
  • default = true
  • textPosition:String [top|middle|bottom] Indicates the status TextField y position
  • default = ‘middle’

     

    Public Methods

    loadBar inherits the MovieClip Methods
    stylize
    | update

  • stylize(format:Object)
  • Applies text formating to the status TextField
  • format:Object (see TextFormat)
  • update(text:String)
  • Applies a string that is the current text in the status TextField

     

    Installation

    1. Download the component and run the loadBar.mxp
    2. The Adobe Extension Manager will open and install the component to Flash
    3. Open flash and navigate to the components window. There should now be a new section titled “Standard Components” where you’ll see a component titled: imageScroller
      Note: if flash is open when you install the mxp, close it and reopen
    4. You can now drag the component to the stage and customize it’s options in the component inspector window


    You must be logged in to post a comment.