Skip to content

Commit

Permalink
Build v2.3.4
Browse files Browse the repository at this point in the history
Change: IAssetLoader#failOnError defaulted to true, this will ensure that current implementation will retain the same functionality.
  • Loading branch information
Matan committed Jun 21, 2011
1 parent ba132c9 commit 0bcb765
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
Binary file modified bin/testing/FlexTestSuite.swf
Binary file not shown.
2 changes: 1 addition & 1 deletion build.properties
Expand Up @@ -2,7 +2,7 @@
project.name = AssetLoader

#Version number for current AssetLoader and AS3Singals releases
assetloader.ver.num = v2.3.3
assetloader.ver.num = v2.3.4
as3.signals.version = v0.8
project.name.versioned = ${project.name}-${assetloader.ver.num}
as3.signals.name.versioned = as3-signals-${as3.signals.version}
Expand Down
2 changes: 1 addition & 1 deletion src/org/assetloader/AssetLoader.as
Expand Up @@ -51,7 +51,7 @@ package org.assetloader
/**
* @private
*/
protected var _failOnError : Boolean;
protected var _failOnError : Boolean = true;

public function AssetLoader(id : String = "PrimaryGroup")
{
Expand Down
4 changes: 2 additions & 2 deletions src/org/assetloader/core/IAssetLoader.as
Expand Up @@ -204,7 +204,7 @@ package org.assetloader.core
* onComplete if one or more of the child loaders have failed/errored. If
* false, the onComplete signal will dispatch regardless of child failures.
*
* @default false
* @default true
*/
function get failOnError() : Boolean

Expand All @@ -213,7 +213,7 @@ package org.assetloader.core
* onComplete if one or more of the child loaders have failed/errored. If
* false, the onComplete signal will dispatch regardless of child failures.
*
* @default false
* @default true
*/
function set failOnError(value : Boolean) : void

Expand Down
2 changes: 2 additions & 0 deletions src_unit/org/assetloader/AssetLoaderTest.as
Expand Up @@ -208,6 +208,8 @@ package org.assetloader
// Change url to force error signal.
_assetloader.getLoader("id-01").request.url = _path + "DOES-NOT-EXIST.file";

_assetloader.failOnError = false;

// onComplete must dispatch regardless of child error
handleSignal(this, _loader.onComplete, onComplete_handler);
_loader.start();
Expand Down

0 comments on commit 0bcb765

Please sign in to comment.