FocusEvent needs to subclass Event
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/e290e6a6 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/e290e6a6 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/e290e6a6 Branch: refs/heads/tlf Commit: e290e6a6ced7a529bdc0a6fc95dae20bd3483967 Parents: 7ac185e Author: Alex Harui <[email protected]> Authored: Sat May 6 21:35:53 2017 -0700 Committer: Alex Harui <[email protected]> Committed: Mon May 8 11:59:01 2017 -0700 ---------------------------------------------------------------------- .../flex/org/apache/flex/textLayout/events/FocusEvent.as | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e290e6a6/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/events/FocusEvent.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/events/FocusEvent.as b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/events/FocusEvent.as index 45811c9..e269bd1 100644 --- a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/events/FocusEvent.as +++ b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/events/FocusEvent.as @@ -18,8 +18,16 @@ //////////////////////////////////////////////////////////////////////////////// package org.apache.flex.textLayout.events { - public class FocusEvent { +import org.apache.flex.events.Event; + public class FocusEvent extends Event + { + + public function FocusEvent(type:String) + { + super(type); + } + public static const FOCUS_IN:String = "focusIn"; public static const FOCUS_OUT:String = "focusOut"; public static const KEY_FOCUS_CHANGE:String = "keyFocusChange";
