Quick check: Is this using 0.7 release, or latest development builds?


On Fri, Sep 30, 2016 at 10:06 AM, OK <p...@olafkrueger.net> wrote:

> Hi,
> while porting the PureMVC employee admin demo to FlexJS I stumbled over
> another issue which I don't understand:
> The demo makes use of a 'typesafe enum pattern' which class that implements
> it is declared as 'Bindable' [1].
> It compiles without any errors or warnings and the swf side works fine.
> But for the JS side it throws a silent 'TypeError: value is undefined' and
> so it doesn't work.
> If I remove the 'Bindable' tag from the class it works fine.
>
> To be clear:
> I don't need to make the class Bindable but I'd like to understand this
> behaviour.
> There were no hints by the compiler and the browsers TypeError doesn't
> point
> me to the right direction so I was lost for a while.
> Is this issue maybe based on the 'circular dependency' thing?
>
> Thanks,
> Olaf
>
>
> [1]
> https://github.com/PureMVC/puremvc-as3-demo-flex-
> employeeadmin/blob/master/src/org/puremvc/as3/demos/flex/
> employeeadmin/model/enum/DeptEnum.as
>
>
>
>
> --
> View this message in context: http://apache-flex-
> development.2333347.n4.nabble.com/FlexJS-Issue-with-
> bindable-class-tp55468.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>

Reply via email to