flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yishay Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-35104) [FlexJS] Binding Problem in Flash
Date Thu, 30 Jun 2016 13:23:10 GMT
Yishay Weiss created FLEX-35104:

             Summary: [FlexJS] Binding Problem in Flash
                 Key: FLEX-35104
                 URL: https://issues.apache.org/jira/browse/FLEX-35104
             Project: Apache Flex
          Issue Type: Bug
          Components: FlexJS
    Affects Versions: Apache FlexJS 0.6.0
            Reporter: Yishay Weiss

There seems to be a problem with binding when extending a class in the flash version. This
js version works fine. I'm using the nightly build from 6/30/16 
I'm getting 
runtime error 
VerifyError: Error #1053: Illegal override of TestFacade in TestFacade. 

when calling getInstance() on TestFacade, which is 

    public class TestFacade extends TestBase 
        public static var DEBUG_MODE:Boolean = false; 
        private static var myInstance:TestFacade; 
       public function TestFacade() 
        public static function getInstance():TestFacade 
            if (myInstance == null) 
                myInstance = new TestFacade(); 
            return myInstance as TestFacade; 



TestBase is 

    public class TestBase 
        public function TestBase() 

Application code is: 

<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:views="com.printui.view.*"

        import org.apache.flex.events.Event;
        public var facade:TestFacade;
        protected function application1_initializeHandler(event:org.apache.flex.events.Event):void
            facade = TestFacade.getInstance();

                <js:BrowserResizeHandler />

This message was sent by Atlassian JIRA

View raw message