This is an automated email from the ASF dual-hosted git repository.
gregdove pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 5d18c2d Quick fix
5d18c2d is described below
commit 5d18c2d484f2149a9167f0ad7296dd9abea6c8de
Author: greg-dove <[email protected]>
AuthorDate: Mon Oct 19 08:36:21 2020 +1300
Quick fix
---
frameworks/projects/MXRoyale/src/main/royale/mx/display/Loader.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/display/Loader.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/display/Loader.as
index a4bcf9c..ca8dfcd 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/display/Loader.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/display/Loader.as
@@ -57,7 +57,7 @@ package mx.display
private function loadCompleteHandler(event:Event):void
{
addElement(_content);
- contentLoaderInfo.dispatchEvent(Event.COMPLETE);
+ contentLoaderInfo.dispatchEvent(new Event(Event.COMPLETE));
}
}
}
\ No newline at end of file