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

pent 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 c893f19  ViewStack and IndexChangedEvent compile.
     new 8af4d01  Merge branch 'feature/MXRoyale' of 
https://github.com/apache/royale-asjs into feature/MXRoyale
c893f19 is described below

commit c893f1953740985b16b5925499aae417f96cd079
Author: Peter Ent <p...@apache.org>
AuthorDate: Tue Apr 10 16:33:15 2018 -0400

    ViewStack and IndexChangedEvent compile.
---
 .../src/main/resources/mx-royale-manifest.xml      |  1 +
 .../src/main/royale/mx/events/IndexChangedEvent.as | 46 +++++++++++++++++++---
 2 files changed, 42 insertions(+), 5 deletions(-)

diff --git 
a/frameworks/projects/MXRoyale/src/main/resources/mx-royale-manifest.xml 
b/frameworks/projects/MXRoyale/src/main/resources/mx-royale-manifest.xml
index 6c83fcd..aee94b2 100644
--- a/frameworks/projects/MXRoyale/src/main/resources/mx-royale-manifest.xml
+++ b/frameworks/projects/MXRoyale/src/main/resources/mx-royale-manifest.xml
@@ -44,6 +44,7 @@
        <component id="HDividedBox" class="mx.containers.HDividedBox" />
        <component id="VBox" class="mx.containers.VBox" />      
        <component id="VDividedBox" class="mx.containers.VDividedBox" />
+       <component id="ViewStack" class="mx.containers.ViewStack" />
        <component id="ApplicationLayout" 
class="mx.containers.beads.ApplicationLayout" />
        <component id="BoxLayout" class="mx.containers.beads.BoxLayout" />
        <component id="CanvasLayout" class="mx.containers.beads.CanvasLayout" />
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/events/IndexChangedEvent.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/events/IndexChangedEvent.as
index fe1d484..ad7d88f 100644
--- 
a/frameworks/projects/MXRoyale/src/main/royale/mx/events/IndexChangedEvent.as
+++ 
b/frameworks/projects/MXRoyale/src/main/royale/mx/events/IndexChangedEvent.as
@@ -235,7 +235,16 @@ public class IndexChangedEvent extends Event
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var newIndex:Number;
+    private var _newIndex:Number;
+       
+       public function get newIndex():Number
+       {
+               return _newIndex;
+       }
+       public function set newIndex(value:Number):void
+       {
+               _newIndex = value;
+       }
 
     //----------------------------------
     //  oldIndex
@@ -254,7 +263,16 @@ public class IndexChangedEvent extends Event
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var oldIndex:Number;
+    private var _oldIndex:Number;
+       
+       public function get oldIndex():Number
+       {
+               return _oldIndex;
+       }
+       public function set oldIndex(value:Number):void
+       {
+               _oldIndex = value;
+       }
 
     //----------------------------------
     //  relatedObject
@@ -269,7 +287,16 @@ public class IndexChangedEvent extends Event
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var relatedObject:Object;
+    private var _relatedObject:Object;
+       
+       public function get relatedObject():Object
+       {
+               return _relatedObject;
+       }
+       public function set relatedObject(value:Object):void
+       {
+               _relatedObject = value;
+       }
 
     //----------------------------------
     //  triggerEvent
@@ -286,7 +313,16 @@ public class IndexChangedEvent extends Event
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var triggerEvent:Event;
+    private var _triggerEvent:Event;
+       
+       public function get triggerEvent():Event
+       {
+               return _triggerEvent;
+       }
+       public function set triggerEvent(value:Event):void
+       {
+               _triggerEvent = value;
+       }
 
     
//--------------------------------------------------------------------------
     //
@@ -297,7 +333,7 @@ public class IndexChangedEvent extends Event
     /**
      *  @private
      */
-    override public function clone():IRoyalEvent
+       override public function cloneEvent():IRoyaleEvent
     {
         return new IndexChangedEvent(type, bubbles, cancelable,
                                      relatedObject, oldIndex, 

-- 
To stop receiving notification emails like this one, please contact
p...@apache.org.

Reply via email to