SolidSoft-Lda opened a new issue #162:
URL: https://github.com/apache/royale-compiler/issues/162


   Example 1, using super to use the base base variable
   
   ```as3
   public class MyBaseClass
   {
       protected var myProtectedVar:String;
   }
   ```
   
   ```as3
   public class MyExtendedClass
   {
       public function MyExtendedClass
       {
           super.myProtecedVar = "Hello World"; // this will throw an JS error 
at runtime
       }
   }
   ```
   
   Example 2, using super at an event
   
   call a remote AMF service to a resultHandler event:
   
   ```as3
   private function resultHandler(event:ResultEvent):void
   {
       super.entities = event.data as ArrayList; // this will throw an internal 
JS error that will stop the result event and fire the AMF fault event
   }
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to