| Package | com.pcthomatos.components.swfscroll |
| Class | public class SWFScrollFrame |
| Inheritance | SWFScrollFrame flash.display.Sprite |
See also
| Property | Defined by | ||
|---|---|---|---|
| buttonBgColor : uint [write-only] Sets the button background color.
| SWFScrollFrame | ||
| buttonBgColorActive : uint [write-only] Sets the button background color active state.
| SWFScrollFrame | ||
| buttonBgColorOn : uint [write-only] Sets the button background color on state.
| SWFScrollFrame | ||
| buttonBgColorOver : uint [write-only] Sets the button background color over state.
| SWFScrollFrame | ||
| buttonTriangleColor : uint [write-only] Sets the color of the triangle arrow inside the scroll button.
| SWFScrollFrame | ||
| graceArea : int [write-only] Sets the grace area of the scrubber in case a user's mouse isn't directly on the scrubber.
| SWFScrollFrame | ||
| scrollbarSize : int [write-only] Sets the thickness of the scrollbar.
| SWFScrollFrame | ||
| scrubberBgColor : uint [write-only] Sets the scrubber background color Applies to the current instance only.
| SWFScrollFrame | ||
| scrubberBgColorActive : uint [write-only] Sets the scrubber background color active state.
| SWFScrollFrame | ||
| scrubberBgColorOn : uint [write-only] Sets the scrubber background color on state.
| SWFScrollFrame | ||
| scrubberBgColorOver : uint [write-only] Sets the scrubber background color over state.
| SWFScrollFrame | ||
| trackBgColor : uint [write-only] Sets the scroll track background color.
| SWFScrollFrame | ||
| Method | Defined by | ||
|---|---|---|---|
|
SWFScrollFrame(scrollingArea:Sprite, frameWidth:int, frameHeight:int, stageP:Stage)
Creates the SWFScrollFrame object.
| SWFScrollFrame | ||
|
clean():void
Destructor method.
| SWFScrollFrame | ||
|
render():void
Once all of your properties are set.
| SWFScrollFrame | ||
|
updateScrubbers():void
Forces scrubbers to update.
| SWFScrollFrame | ||
| buttonBgColor | property |
buttonBgColor:uint [write-only]Sets the button background color. Applies to the current instance only.
The default value is 0xD5D5D5.
public function set buttonBgColor(value:uint):void
See also
| buttonBgColorActive | property |
buttonBgColorActive:uint [write-only]Sets the button background color active state. Applies to the current instance only.
The default value is 0x9EC7D9.
public function set buttonBgColorActive(value:uint):void
See also
| buttonBgColorOn | property |
buttonBgColorOn:uint [write-only]Sets the button background color on state. Applies to the current instance only.
The default value is 0xC5C5C5.
public function set buttonBgColorOn(value:uint):void
See also
| buttonBgColorOver | property |
buttonBgColorOver:uint [write-only]Sets the button background color over state. Applies to the current instance only.
The default value is 0xD6EEFB.
public function set buttonBgColorOver(value:uint):void
See also
| buttonTriangleColor | property |
buttonTriangleColor:uint [write-only]Sets the color of the triangle arrow inside the scroll button. Applies to the current instance only.
The default value is 0x252525.
public function set buttonTriangleColor(value:uint):void
See also
| graceArea | property |
graceArea:int [write-only]Sets the grace area of the scrubber in case a user's mouse isn't directly on the scrubber. Applies to the current instance only.
The default value is 60.
public function set graceArea(value:int):void
See also
| scrollbarSize | property |
scrollbarSize:int [write-only]Sets the thickness of the scrollbar. Applies to the current instance only.
The default value is 20.
public function set scrollbarSize(value:int):void
See also
| scrubberBgColor | property |
scrubberBgColor:uint [write-only]Sets the scrubber background color Applies to the current instance only.
The default value is 0xD5D5D5.
public function set scrubberBgColor(value:uint):void
See also
| scrubberBgColorActive | property |
scrubberBgColorActive:uint [write-only]Sets the scrubber background color active state. Applies to the current instance only.
The default value is 0x9EC7D9.
public function set scrubberBgColorActive(value:uint):void
See also
| scrubberBgColorOn | property |
scrubberBgColorOn:uint [write-only]Sets the scrubber background color on state. Applies to the current instance only.
The default value is 0xC5C5C5.
public function set scrubberBgColorOn(value:uint):void
See also
| scrubberBgColorOver | property |
scrubberBgColorOver:uint [write-only]Sets the scrubber background color over state. Applies to the current instance only.
The default value is 0xD6EEFB.
public function set scrubberBgColorOver(value:uint):void
See also
| trackBgColor | property |
trackBgColor:uint [write-only]Sets the scroll track background color. Applies to the current instance only.
The default value is 0xE0E0E0.
public function set trackBgColor(value:uint):void
See also
| SWFScrollFrame | () | constructor |
public function SWFScrollFrame(scrollingArea:Sprite, frameWidth:int, frameHeight:int, stageP:Stage)Creates the SWFScrollFrame object.
ParametersscrollingArea:Sprite — Area to be scrolled.
|
|
frameWidth:int — Width of your frame area.
|
|
frameHeight:int — Height of your frame area.
|
|
stageP:Stage — An instance of Stage.
|
| clean | () | method |
public function clean():voidDestructor method. In order to properly destroy SWFScrollFrame this method must be run first. Otherwise a memory leak will occur.
| render | () | method |
public function render():voidOnce all of your properties are set. Call this method to render your frame. If default properties are used, call this method right after the instance of SWFScrollFrame is created.
| updateScrubbers | () | method |
public function updateScrubbers():voidForces scrubbers to update.