Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Commit

Permalink
Swapped incorrect error codes and redebug with release settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Harald Kirschner committed Nov 10, 2008
1 parent 088ff72 commit 963f80d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Binary file modified source/Swiff.Uploader.swf
Binary file not shown.
6 changes: 3 additions & 3 deletions source/as3proj/Swiff.Uploader.as3proj
Expand Up @@ -8,7 +8,7 @@
<movie fps="30" />
<movie width="800" />
<movie height="800" />
<movie version="10" />
<movie version="9" />
<movie background="#C0C0C0" />
</output>
<!-- Other classes to be compiled into your SWF -->
Expand All @@ -24,9 +24,9 @@
<option es="False" />
<option loadConfig="" />
<option optimize="False" />
<option showActionScriptWarnings="True" />
<option showActionScriptWarnings="False" />
<option showBindingWarnings="True" />
<option showDeprecationWarnings="True" />
<option showDeprecationWarnings="False" />
<option showUnusedTypeSelectorWarnings="True" />
<option strict="True" />
<option useNetwork="True" />
Expand Down
4 changes: 2 additions & 2 deletions source/as3proj/src/com/digitarald/uploader/Uploader.as
Expand Up @@ -211,15 +211,15 @@
private function ioErrorHandler(event:IOErrorEvent):void {
var file:FileReference = FileReference(event.target);
if (finishFile(file)){
ExternalInterface.call(root.loaderInfo.parameters.onError, valueOfFile(file), 'securityError', event.text, updateProgress());
ExternalInterface.call(root.loaderInfo.parameters.onError, valueOfFile(file), 'ioError', event.text, updateProgress());
checkQueue();
}
}

private function securityErrorHandler(event:SecurityErrorEvent):void {
var file:FileReference = FileReference(event.target);
if (finishFile(file)){
ExternalInterface.call(root.loaderInfo.parameters.onError, valueOfFile(file), 'ioError', event.text, updateProgress());
ExternalInterface.call(root.loaderInfo.parameters.onError, valueOfFile(file), 'securityError', event.text, updateProgress());
checkQueue();
}
}
Expand Down

0 comments on commit 963f80d

Please sign in to comment.