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 02ebaf3  Update Effect.as
02ebaf3 is described below

commit 02ebaf3e8d62bfa2f53ebaf05c61c0a64aed76ce
Author: alinakazi <[email protected]>
AuthorDate: Mon Apr 30 15:39:12 2018 +0500

    Update Effect.as
---
 .../MXRoyale/src/main/royale/mx/effects/Effect.as  | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/effects/Effect.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/effects/Effect.as
index 2bd5bff..58f7d87 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/effects/Effect.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/effects/Effect.as
@@ -36,6 +36,40 @@ public class Effect extends org.apache.royale.effects.Effect
 {
        public var instanceClass:Class = IEffectInstance;
        
+       
//--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    
//--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  <p>Starting an effect is usually a three-step process:</p>
+     *
+     *  <ul>
+     *    <li>Create an instance of the effect object
+     *    with the <code>new</code> operator.</li>
+     *    <li>Set properties on the effect object,
+     *    such as <code>duration</code>.</li>
+     *    <li>Call the <code>play()</code> method
+     *    or assign the effect to a trigger.</li>
+     *  </ul>
+     *
+     *  @param target The Object to animate with this effect.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Royale 0.9.3
+     */
+    public function Effect(target:Object = null)
+    {
+        super();
+       
+       //this.target = target;
+        
+    }
        public function end(effectInstance:IEffectInstance = null):void
     {
     }

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to