| Package | org.flixel.system |
| 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 | ||
destroy():void | FlxPreloader | ||
update(Percent:Number):void
Override this function to manually update the preloader. | FlxPreloader | ||
| _height | property |
protected var _height:uintUseful for storing "real" stage height if you're scaling your preloader graphics.
| _width | property |
protected var _width:uintUseful for storing "real" stage width if you're scaling your preloader graphics.
| className | property |
public var className:StringThis should always be the name of your main project/document class (e.g. GravityHook).
| 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.
| 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()!
| destroy | () | method |
protected function destroy():void| update | () | method |
protected function update(Percent:Number):voidOverride this function to manually update the preloader.
Parameters
Percent:Number — How much of the program has loaded.
|