You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by al...@apache.org on 2018/06/19 10:30:01 UTC

[royale-asjs] branch feature/MXRoyale updated: Update FocusEvent.as

This is an automated email from the ASF dual-hosted git repository.

alinakazi pushed a commit to branch feature/MXRoyale
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/feature/MXRoyale by this push:
     new 8148659  Update FocusEvent.as
8148659 is described below

commit 8148659f8b88502ccd9aaeb516ccfa3a4a09c2ba
Author: alinakazi <AL...@GMAIL.COM>
AuthorDate: Tue Jun 19 15:29:59 2018 +0500

    Update FocusEvent.as
---
 .../MXRoyale/src/main/royale/mx/events/FocusEvent.as       | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/events/FocusEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/events/FocusEvent.as
index 3218ea8..daac7da 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/FocusEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/FocusEvent.as
@@ -21,7 +21,8 @@ package mx.events
 {
 COMPILE::SWF
 {
-import flash.events.Event;        
+import flash.events.FocusEvent;  
+import flash.display.InteractiveObject;      
 }
 /* import mx.events.Event;*/
 import org.apache.royale.events.Event;
@@ -39,8 +40,13 @@ import org.apache.royale.events.IRoyaleEvent;
  *  @royalesuppresspublicvarwarning
  */
 COMPILE::SWF
-public class FocusEvent extends flash.events.Event
+public class FocusEvent extends flash.events.FocusEvent
 {
+	public function FocusEvent(type:String, bubbles:Boolean = false,
+                              cancelable:Boolean = false ,relatedObject:InteractiveObject = null, shiftKey:Boolean = false, keyCode:uint = 0, direction:String = "none")
+    {
+        super(type, bubbles, cancelable,relatedObject,shiftKey,keyCode,direction);
+    }
 }
 
 /**
@@ -91,8 +97,8 @@ public class FocusEvent extends org.apache.royale.events.Event
 	 *  @productversion Royale 0.9.3
 	 */
 	public function FocusEvent(type:String, bubbles:Boolean = false,
-							  cancelable:Boolean = false
-							  )
+							  cancelable:Boolean = false ,relatedObject:Object = null, shiftKey:Boolean = false, keyCode:uint = 0, direction:String = "none")
+							  
 	{
 		super(type, bubbles, cancelable);
 	}