class FlxVersion
package flixel.system
Static variables
Constructor
Variables
Methods
toString():String
Formats the version in the format "HaxeFlixel MAJOR.MINOR.PATCH-COMMIT_SHA", +
diff --git a/flixel/addons/text/TypeSound.html b/flixel/addons/text/TypeSound.html index 22ab59569f..805444624a 100644 --- a/flixel/addons/text/TypeSound.html +++ b/flixel/addons/text/TypeSound.html @@ -39,9 +39,7 @@ (content installed with the AIR application) are not restricted by these security limitations.
For more information related to security, see the Flash Player -Developer Center Topic: <a -href="http://www.adobe.com/go/devnet_security_en" -scope="external">Security.
read onlyisBuffering:Bool
Returns the buffering state of external MP3 files. If the value is +Developer Center Topic: Security.
read onlyisBuffering:Bool
Returns the buffering state of external MP3 files. If the value is
true
, any playback is currently suspended while the object
waits for more data.
read onlyurl:String
The URL from which this sound was loaded. This property is applicable only
to Sound objects that were loaded using the Sound.load()
diff --git a/flixel/addons/transition/GraphicTransTileCircle.html b/flixel/addons/transition/GraphicTransTileCircle.html
index 9f1c4996ce..b4bc0d3659 100644
--- a/flixel/addons/transition/GraphicTransTileCircle.html
+++ b/flixel/addons/transition/GraphicTransTileCircle.html
@@ -53,19 +53,16 @@
upper-left corner of the rectangular area where
the new channel data is placed. To copy only
channel data from one area to a different area in
-the destination image, specify a point other than
(0,0).
-
sourceChannel
The source channel. Use a value from the -BitmapDataChannel class
- (`BitmapDataChannel.RED`,
-
-BitmapDataChannel.BLUE
,
+the destination image, specify a point other than
+(0,0).
sourceChannel
The source channel. Use a value from the
+BitmapDataChannel class
+(BitmapDataChannel.RED
,
+BitmapDataChannel.BLUE
,
BitmapDataChannel.GREEN
,
BitmapDataChannel.ALPHA
).
destChannel
The destination channel. Use a value from the -BitmapDataChannel class
- (`BitmapDataChannel.RED`,
-
-BitmapDataChannel.BLUE
,
+BitmapDataChannel class
+(BitmapDataChannel.RED
,
+BitmapDataChannel.BLUE
,
BitmapDataChannel.GREEN
,
BitmapDataChannel.ALPHA
).
Throws:
TypeError | The sourceBitmapData, sourceRect or destPoint are null. |
---|
See also:
copyPixels(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, ?alphaBitmapData:BitmapData, ?alphaPoint:Point, mergeAlpha:Bool = false):Void
Provides a fast routine to perform pixel manipulation between images with
no stretching, rotation, or color effects. This method copies a
@@ -351,10 +348,10 @@
considered opaque in the second BitmapData object. Use this parameter only when
the value of secondObject
is a BitmapData object and both BitmapData objects
are transparent.
Returns:
Throws:
ArgumentError | The |
---|---|
TypeError | The |
lock():Void
When targeting AIR, this method locks an image so that any objects
-that reference the BitmapData object, such as Bitmap objects, are not
-updated when this BitmapData object changes. To improve performance,
-use this method along with the unlock()
method before and after numerous
+Bitmap, or BitmapData object.
TypeError
The firstPoint
is null
.
lock():Void
When targeting AIR, this method locks an image so that any objects
+that reference the BitmapData object, such as Bitmap objects, are not
+updated when this BitmapData object changes. To improve performance,
+use this method along with the unlock()
method before and after numerous
calls to the setPixel()
or setPixel32()
method.
Note: This method only provides an optimization on the AIR(Flash) target. For all other targets, this method contains an empty function body.
merge(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, redMultiplier:UInt, greenMultiplier:UInt, blueMultiplier:UInt, alphaMultiplier:UInt):Void
Performs per-channel blending from a source image to a destination image. For
@@ -544,8 +541,8 @@
destination when the threshold test fails. If the
value is false
, the source image is
not copied when the threshold test fails.
Returns:
The number of pixels that were changed.
Throws:
ArgumentError | The operation string is not a valid operation |
---|---|
TypeError | The sourceBitmapData, sourceRect destPoint or -operation are null. |
unlock(?changeRect:Rectangle):Void
When targeting AIR, this method Unlocks an image so that any objects that reference -the BitmapData object, such as Bitmap objects, are updated when this BitmapData object +operation are null.
unlock(?changeRect:Rectangle):Void
When targeting AIR, this method Unlocks an image so that any objects that reference +the BitmapData object, such as Bitmap objects, are updated when this BitmapData object changes.
To improve performance, use this method along with the lock()
method before and after numerous calls to the setPixel()
or
diff --git a/flixel/addons/transition/GraphicTransTileDiamond.html b/flixel/addons/transition/GraphicTransTileDiamond.html
index 87fb3c32f5..ac63514eac 100644
--- a/flixel/addons/transition/GraphicTransTileDiamond.html
+++ b/flixel/addons/transition/GraphicTransTileDiamond.html
@@ -53,19 +53,16 @@
upper-left corner of the rectangular area where
the new channel data is placed. To copy only
channel data from one area to a different area in
-the destination image, specify a point other than
(0,0).
-
sourceChannel
The source channel. Use a value from the -BitmapDataChannel class
- (`BitmapDataChannel.RED`,
-
-BitmapDataChannel.BLUE
,
+the destination image, specify a point other than
+(0,0).
sourceChannel
The source channel. Use a value from the
+BitmapDataChannel class
+(BitmapDataChannel.RED
,
+BitmapDataChannel.BLUE
,
BitmapDataChannel.GREEN
,
BitmapDataChannel.ALPHA
).
destChannel
The destination channel. Use a value from the -BitmapDataChannel class
- (`BitmapDataChannel.RED`,
-
-BitmapDataChannel.BLUE
,
+BitmapDataChannel class
+(BitmapDataChannel.RED
,
+BitmapDataChannel.BLUE
,
BitmapDataChannel.GREEN
,
BitmapDataChannel.ALPHA
).
Throws:
TypeError | The sourceBitmapData, sourceRect or destPoint are null. |
---|
See also:
copyPixels(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, ?alphaBitmapData:BitmapData, ?alphaPoint:Point, mergeAlpha:Bool = false):Void
Provides a fast routine to perform pixel manipulation between images with
no stretching, rotation, or color effects. This method copies a
@@ -351,10 +348,10 @@
considered opaque in the second BitmapData object. Use this parameter only when
the value of secondObject
is a BitmapData object and both BitmapData objects
are transparent.
Returns:
Throws:
ArgumentError | The |
---|---|
TypeError | The |
lock():Void
When targeting AIR, this method locks an image so that any objects
-that reference the BitmapData object, such as Bitmap objects, are not
-updated when this BitmapData object changes. To improve performance,
-use this method along with the unlock()
method before and after numerous
+Bitmap, or BitmapData object.
TypeError
The firstPoint
is null
.
lock():Void
When targeting AIR, this method locks an image so that any objects
+that reference the BitmapData object, such as Bitmap objects, are not
+updated when this BitmapData object changes. To improve performance,
+use this method along with the unlock()
method before and after numerous
calls to the setPixel()
or setPixel32()
method.
Note: This method only provides an optimization on the AIR(Flash) target. For all other targets, this method contains an empty function body.
merge(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, redMultiplier:UInt, greenMultiplier:UInt, blueMultiplier:UInt, alphaMultiplier:UInt):Void
Performs per-channel blending from a source image to a destination image. For
@@ -544,8 +541,8 @@
destination when the threshold test fails. If the
value is false
, the source image is
not copied when the threshold test fails.
Returns:
The number of pixels that were changed.
Throws:
ArgumentError | The operation string is not a valid operation |
---|---|
TypeError | The sourceBitmapData, sourceRect destPoint or -operation are null. |
unlock(?changeRect:Rectangle):Void
When targeting AIR, this method Unlocks an image so that any objects that reference -the BitmapData object, such as Bitmap objects, are updated when this BitmapData object +operation are null.
unlock(?changeRect:Rectangle):Void
When targeting AIR, this method Unlocks an image so that any objects that reference +the BitmapData object, such as Bitmap objects, are updated when this BitmapData object changes.
To improve performance, use this method along with the lock()
method before and after numerous calls to the setPixel()
or
diff --git a/flixel/addons/transition/GraphicTransTileSquare.html b/flixel/addons/transition/GraphicTransTileSquare.html
index 99160d8b37..7385452d02 100644
--- a/flixel/addons/transition/GraphicTransTileSquare.html
+++ b/flixel/addons/transition/GraphicTransTileSquare.html
@@ -53,19 +53,16 @@
upper-left corner of the rectangular area where
the new channel data is placed. To copy only
channel data from one area to a different area in
-the destination image, specify a point other than
(0,0).
-
sourceChannel
The source channel. Use a value from the -BitmapDataChannel class
- (`BitmapDataChannel.RED`,
-
-BitmapDataChannel.BLUE
,
+the destination image, specify a point other than
+(0,0).
sourceChannel
The source channel. Use a value from the
+BitmapDataChannel class
+(BitmapDataChannel.RED
,
+BitmapDataChannel.BLUE
,
BitmapDataChannel.GREEN
,
BitmapDataChannel.ALPHA
).
destChannel
The destination channel. Use a value from the -BitmapDataChannel class
- (`BitmapDataChannel.RED`,
-
-BitmapDataChannel.BLUE
,
+BitmapDataChannel class
+(BitmapDataChannel.RED
,
+BitmapDataChannel.BLUE
,
BitmapDataChannel.GREEN
,
BitmapDataChannel.ALPHA
).
Throws:
TypeError | The sourceBitmapData, sourceRect or destPoint are null. |
---|
See also:
copyPixels(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, ?alphaBitmapData:BitmapData, ?alphaPoint:Point, mergeAlpha:Bool = false):Void
Provides a fast routine to perform pixel manipulation between images with
no stretching, rotation, or color effects. This method copies a
@@ -351,10 +348,10 @@
considered opaque in the second BitmapData object. Use this parameter only when
the value of secondObject
is a BitmapData object and both BitmapData objects
are transparent.
Returns:
Throws:
ArgumentError | The |
---|---|
TypeError | The |
lock():Void
When targeting AIR, this method locks an image so that any objects
-that reference the BitmapData object, such as Bitmap objects, are not
-updated when this BitmapData object changes. To improve performance,
-use this method along with the unlock()
method before and after numerous
+Bitmap, or BitmapData object.
TypeError
The firstPoint
is null
.
lock():Void
When targeting AIR, this method locks an image so that any objects
+that reference the BitmapData object, such as Bitmap objects, are not
+updated when this BitmapData object changes. To improve performance,
+use this method along with the unlock()
method before and after numerous
calls to the setPixel()
or setPixel32()
method.
Note: This method only provides an optimization on the AIR(Flash) target. For all other targets, this method contains an empty function body.
merge(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, redMultiplier:UInt, greenMultiplier:UInt, blueMultiplier:UInt, alphaMultiplier:UInt):Void
Performs per-channel blending from a source image to a destination image. For
@@ -544,8 +541,8 @@
destination when the threshold test fails. If the
value is false
, the source image is
not copied when the threshold test fails.
Returns:
The number of pixels that were changed.
Throws:
ArgumentError | The operation string is not a valid operation |
---|---|
TypeError | The sourceBitmapData, sourceRect destPoint or -operation are null. |
unlock(?changeRect:Rectangle):Void
When targeting AIR, this method Unlocks an image so that any objects that reference -the BitmapData object, such as Bitmap objects, are updated when this BitmapData object +operation are null.
unlock(?changeRect:Rectangle):Void
When targeting AIR, this method Unlocks an image so that any objects that reference +the BitmapData object, such as Bitmap objects, are updated when this BitmapData object changes.
To improve performance, use this method along with the lock()
method before and after numerous calls to the setPixel()
or
diff --git a/flixel/sound/FlxSound.html b/flixel/sound/FlxSound.html
index 7e0cebe7c2..a3b84504ce 100644
--- a/flixel/sound/FlxSound.html
+++ b/flixel/sound/FlxSound.html
@@ -15,7 +15,8 @@
If set while paused, changes only come into effect after a resume()
call.
x:Float
The x position of this sound in world coordinates. Only really matters if you are doing proximity/panning stuff.
y:Float
The y position of this sound in world coordinates. Only really matters if you are doing proximity/panning stuff.
onComplete:() ‑> Void
Tracker for sound complete callback. If assigned, will be called -each time when sound reaches its end.
inlinefadeIn(Duration:Float = 1, From:Float = 0, To:Float = 1, ?onComplete:FlxTween ‑> Void):FlxSound
Helper function that tweens this sound's volume.
Parameters:
Duration | The amount of time the fade-in operation should take. |
---|---|
From | The volume to tween from, 0 by default. |
To | The volume to tween to, 1 by default. |
inlinefadeOut(Duration:Float = 1, To:Float = 0, ?onComplete:FlxTween ‑> Void):FlxSound
Helper function that tweens this sound's volume.
Parameters:
Duration | The amount of time the fade-out operation should take. |
---|---|
To | The volume to tween to, 0 by default. |
inlinegetActualVolume():Float
Returns the currently selected "real" volume of the sound (takes fades and proximity into account).
Returns:
The adjusted volume of the sound.
loadEmbedded(EmbeddedSound:FlxSoundAsset, Looped:Bool = false, AutoDestroy:Bool = false, ?OnComplete:() ‑> Void):FlxSound
One of the main setup functions for sounds, this function loads a sound from an embedded MP3.
Parameters:
EmbeddedSound | An embedded Class object representing an MP3 file. | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Looped | Whether or not this sound should loop endlessly. | ||||||||||||||||||||||||||||||
AutoDestroy | Whether or not this FlxSound instance should be destroyed when the sound finishes playing. +each time when sound reaches its end. Methods
|
Duration | The amount of time the fade-in operation should take. |
---|---|
From | The volume to tween from, 0 by default. |
To | The volume to tween to, 1 by default. |
inlinefadeOut(Duration:Float = 1, To:Float = 0, ?onComplete:FlxTween ‑> Void):FlxSound
Helper function that tweens this sound's volume.
Parameters:
Duration | The amount of time the fade-out operation should take. |
---|---|
To | The volume to tween to, 0 by default. |
inlinegetActualVolume():Float
Returns the currently selected "real" volume of the sound (takes fades and proximity into account).
Returns:
The adjusted volume of the sound.
loadEmbedded(EmbeddedSound:FlxSoundAsset, Looped:Bool = false, AutoDestroy:Bool = false, ?OnComplete:() ‑> Void):FlxSound
One of the main setup functions for sounds, this function loads a sound from an embedded MP3.
+Note: If the FLX_DEFAULT_SOUND_EXT
flag is enabled, you may omit the file extension
Parameters:
EmbeddedSound | An embedded Class object representing an MP3 file. |
---|---|
Looped | Whether or not this sound should loop endlessly. |
AutoDestroy | Whether or not this FlxSound instance should be destroyed when the sound finishes playing.
Default value is false, but |
OnComplete | Called when the sound finished playing |
Returns:
This FlxSound instance (nice for chaining stuff together, if you're into that).
loadStream(SoundURL:String, Looped:Bool = false, AutoDestroy:Bool = false, ?OnComplete:() ‑> Void, ?OnLoad:() ‑> Void):FlxSound
One of the main setup functions for sounds, this function loads a sound from a URL.
Parameters:
SoundURL | A string representing the URL of the MP3 file you want to play. |
---|---|
Looped | Whether or not this sound should loop endlessly. |
AutoDestroy | Whether or not this FlxSound instance should be destroyed when the sound finishes playing.
Default value is false, but |
OnComplete | Called when the sound finished playing |
OnLoad | Called when the sound finished loading. |
Returns:
This FlxSound instance (nice for chaining stuff together, if you're into that).
play(ForceRestart:Bool = false, StartTime:Float = 0.0, ?EndTime:Float):FlxSound
Call this function to play the sound - also works on paused sounds.
Parameters:
ForceRestart | Whether to start the sound over or not. Default value is false, meaning if the sound is already playing or was diff --git a/flixel/system/FlxVersion.html b/flixel/system/FlxVersion.html index 13d5b646ac..218702d420 100644 --- a/flixel/system/FlxVersion.html +++ b/flixel/system/FlxVersion.html @@ -7,6 +7,6 @@ float: none; text-shadow: 0 0 0 transparent; } - class FlxVersionpackage flixel.systemStatic variablesConstructorVariablesMethods
|
---|