change name so the instance and static properties have different names. This was messing up reflection info
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/64d564f8 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/64d564f8 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/64d564f8 Branch: refs/heads/refactor-sprite Commit: 64d564f8f90b177ff573215983cb9da6b0da29f5 Parents: 4c9ab06 Author: Alex Harui <aha...@apache.org> Authored: Tue Oct 25 12:59:38 2016 -0700 Committer: Alex Harui <aha...@apache.org> Committed: Tue Oct 25 13:00:42 2016 -0700 ---------------------------------------------------------------------- .../HTML/src/main/flex/org/apache/flex/html/SimpleAlert.as | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/64d564f8/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/SimpleAlert.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/SimpleAlert.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/SimpleAlert.as index 76160c0..0719036 100644 --- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/SimpleAlert.as +++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/SimpleAlert.as @@ -103,7 +103,7 @@ package org.apache.flex.html * @playerversion AIR 2.6 * @productversion FlexJS 0.0 */ - public function show(parent:Object) : void + public function showAlert(parent:Object) : void { parent.addElement(this); } @@ -125,7 +125,7 @@ package org.apache.flex.html { var alert:SimpleAlert = new SimpleAlert(); alert.message = message; - alert.show(parent); + alert.showAlert(parent); return alert; }