Permalink
Browse files

Give the user some feedback when they press 'submit'

  • Loading branch information...
1 parent b3e84c0 commit cd156ca452746dd6bb4aa7abb615818367f16ac6 Martin Gregory committed May 12, 2009
View
4 flex_src/src/s3_upload.mxml
@@ -71,6 +71,8 @@
return;
}
+ userMessage.text = 'Initiating...';
+
// ======================== //
// Start Query S3 Signature //
// ======================== //
@@ -161,7 +163,7 @@
request.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA, function(event:Event):void {
uploadProgressBar.visible = false;
//selectButton.visible = true;
- userMessage.text = "Upload complete!";
+ userMessage.text = "Upload complete! Generating preview thumbnail... ";
trace(options.onSuccessCall);
ExternalInterface.call(options.onSuccessCall, options.FileName, options.FileSize, options.ContentType);
trace(event);
View
BIN generators/s3_swf_upload/templates/s3_upload.swf
Binary file not shown.

0 comments on commit cd156ca

Please sign in to comment.