diff --git a/FileAPI.flash.swf b/FileAPI.flash.swf index ecb7b372..644adad2 100644 Binary files a/FileAPI.flash.swf and b/FileAPI.flash.swf differ diff --git a/flash/src/ru/mail/controller/AppController.as b/flash/src/ru/mail/controller/AppController.as index a4e141ec..06ce5038 100644 --- a/flash/src/ru/mail/controller/AppController.as +++ b/flash/src/ru/mail/controller/AppController.as @@ -120,7 +120,7 @@ package ru.mail.controller private function initView(graphicContext:Sprite):void { // init with some default dimensionsm then listen to Stage resize event - resizeView(graphicContext, 300, 50); + resizeView(graphicContext, 1000, 1000); // use hand cursor true setCursor("pointer"); @@ -597,7 +597,8 @@ package ru.mail.controller if (event.error.error.indexOf("#2038") > -1) { _model.hasError = true; } - _jsCaller.callJS( callback, {type:"error", message:event.error.getError(), status:event.error.httpStatus } ); + _jsCaller.callJS( callback, {type:"error", message:event.error.getError(), status:event.error.httpStatus } ); + //TODO replace with httpStatus, и вообще в complete статус передастся только через urlLoader, в случае fileReference никогда мы его не узнаем. } uploadCommand.dispose();