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


   Example 1, using super to use the base base variable
   
   public class MyBaseClass
   {
       protected var myProtectedVar:String;
   }
   
   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:
   
   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