Please file a bug with this test case. If you have time, try removing the "static" from DEBUG_MODE and see if that works.
Thanks, -Alex On 6/29/16, 10:40 PM, "yishayw" <yishayj...@hotmail.com> wrote: >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 > >----------- >package >{ > public class TestFacade extends TestBase > { > [Bindable] > public static var DEBUG_MODE:Boolean = false; > > private static var myInstance:TestFacade; > public function TestFacade() > { > super(); > } > > public static function getInstance():TestFacade > { > if (myInstance == null) > myInstance = new TestFacade(); > return myInstance as TestFacade; > } > > } >} > >-------------- > >TestBase is > >--------------- >package >{ > public class TestBase > { > public function TestBase() > { > } > } >} >---------- > >Application code is: > > >-------- ><js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" >xmlns:views="com.printui.view.*" > initialize="application1_initializeHandler(event)" > > xmlns:js="library://ns.apache.org/flexjs/basic"> > <fx:Script> > > </fx:Script> > <js:beads> > <js:BrowserResizeHandler /> > </js:beads> > <js:valuesImpl> > <js:SimpleCSSValuesImpl/> > </js:valuesImpl> > <js:model> > <models:MainModel/> > </js:model> > <js:initialView> > <views:InitialView/> > </js:initialView> ></js:Application> >---------- > > > > >-- >View this message in context: >http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Problem-with-B >inding-Flash-Version-tp53541.html >Sent from the Apache Flex Development mailing list archive at Nabble.com.