| Package | org.flixel |
| Class | public class FlxPreloader |
| Inheritance | FlxPreloader flash.display.MovieClip |
| Property | Defined by | ||
|---|---|---|---|
| className : String
This should always be the name of your main project/document class (e.g.
| FlxPreloader | ||
| minDisplayTime : Number
Change this if you want the flixel logo to show for more or less time.
| FlxPreloader | ||
| myURL : String
Set this to your game's URL to use built-in site-locking.
| FlxPreloader | ||
| Property | Defined by | ||
|---|---|---|---|
| _height : uint
Useful for storing "real" stage height if you're scaling your preloader graphics.
| FlxPreloader | ||
| ImgLogo : Class | FlxPreloader | ||
| ImgLogoCorners : Class | FlxPreloader | ||
| ImgLogoLight : Class | FlxPreloader | ||
| _width : uint
Useful for storing "real" stage width if you're scaling your preloader graphics.
| FlxPreloader | ||
| Method | Defined by | ||
|---|---|---|---|
|
Constructor
| FlxPreloader | ||
| Method | Defined by | ||
|---|---|---|---|
|
create():void
Override this to create your own preloader objects.
| FlxPreloader | ||
|
update(Percent:Number):void
Override this function to manually update the preloader.
| FlxPreloader | ||
| className | property |
public var className:StringThis should always be the name of your main project/document class (e.g. GravityHook).
| _height | property |
protected var _height:uintUseful for storing "real" stage height if you're scaling your preloader graphics.
| ImgLogo | property |
protected var ImgLogo:Class
| ImgLogoCorners | property |
protected var ImgLogoCorners:Class
| ImgLogoLight | property |
protected var ImgLogoLight:Class
| minDisplayTime | property |
public var minDisplayTime:NumberChange this if you want the flixel logo to show for more or less time. Default value is 0 seconds.
| myURL | property |
public var myURL:StringSet this to your game's URL to use built-in site-locking.
| _width | property |
protected var _width:uintUseful for storing "real" stage width if you're scaling your preloader graphics.
| FlxPreloader | () | constructor |
public function FlxPreloader()Constructor
| create | () | method |
protected function create():voidOverride this to create your own preloader objects. Highly recommended you also override update()!
| update | () | method |
protected function update(Percent:Number):voidOverride this function to manually update the preloader.
ParametersPercent:Number — How much of the program has loaded.
|