Repository: flex-asjs
Updated Branches:
  refs/heads/develop 5a34b6982 -> 5ee6496d9


Added optional parameters to SolidColor constructor
Added COMPLETE constant to 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/5ee6496d
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/5ee6496d
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/5ee6496d

Branch: refs/heads/develop
Commit: 5ee6496d9bd4d67d0fee0b73cbe7c304f89a4c0b
Parents: 5a34b69
Author: Harbs <[email protected]>
Authored: Fri Jul 15 12:07:31 2016 +0300
Committer: Harbs <[email protected]>
Committed: Fri Jul 15 12:07:31 2016 +0300

----------------------------------------------------------------------
 .../main/flex/org/apache/flex/events/Event.as   |  5 ++--
 .../org/apache/flex/core/graphics/SolidColor.as | 24 ++++++++++++++++++++
 2 files changed, 27 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5ee6496d/frameworks/projects/Core/src/main/flex/org/apache/flex/events/Event.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/Event.as 
b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/Event.as
index 9ca3743..5d8c81e 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/events/Event.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/events/Event.as
@@ -47,8 +47,8 @@ package org.apache.flex.events
                //   Static Property
                //--------------------------------------
 
-               static public const CHANGE:String = "change";
-
+               public static const CHANGE:String = "change";
+               public static const COMPLETE:String = "complete";
                //--------------------------------------
                //   Constructor
                //--------------------------------------
@@ -104,6 +104,7 @@ package org.apache.flex.events
     public class Event extends goog.events.Event {
 
                public static const CHANGE:String = "change";
+               public static const COMPLETE:String = "complete";
 
         public function Event(type:String, bubbles:Boolean = false, 
cancelable:Boolean = false) {
             super(type);

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5ee6496d/frameworks/projects/Graphics/src/main/flex/org/apache/flex/core/graphics/SolidColor.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/core/graphics/SolidColor.as
 
b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/core/graphics/SolidColor.as
index 81f9534..1129ff8 100644
--- 
a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/core/graphics/SolidColor.as
+++ 
b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/core/graphics/SolidColor.as
@@ -23,6 +23,30 @@ package org.apache.flex.core.graphics
        public class SolidColor implements IFill
        {
                
+               /**
+                *  Constructor.
+                *
+                *  @param color Specifies the color.
+                *  The default value is 0x000000 (black).
+                *
+                *  @param alpha Specifies the level of transparency.
+                *  Valid values range from 0.0 (completely transparent)
+                *  to 1.0 (completely opaque).
+                *  The default value is 1.0.
+                *  
+                *  @langversion 3.0
+                *  @playerversion Flash 9
+                *  @playerversion AIR 1.1
+                *  @productversion Flex 3
+                */
+               public function SolidColor(color:uint = 0x000000, alpha:Number 
= 1.0)
+               {
+                       super();
+
+                       this.color = color;
+                       this.alpha = alpha;
+               }
+
                //----------------------------------
                //  alpha
                //----------------------------------

Reply via email to