Thanks.  Please try the nightly 0.8.0 build.  It should be fixed already.

-Alex

On 11/3/16, 7:55 PM, "Pan Li" <pa...@prominic.net> wrote:

>
>
>platform: Mac OS 10.4; FlexJS 0.7
>
>numElements of the UI element Container doesn't work, it can be reproduced
>by this code snippet:
>
><js:Container id="holder" width="100%" height="100%" >
>           <js:beads>
>               <js:VerticalLayout/>
>               </js:beads>
>               <js:Label text="fooo"/>
>           <js:Label  text="wooo"/>
>           <js:Label id="debug" text="tooverride"/>
>               <js:TextButton text="GO"   click="debug.text = String
>(holder.numElements)" />
></js:Container>
>
>Run it in FlexJS0.7 in javascript or awf mode, it will show "1", but
>expected value is 4.
>
>Similar code in Flex works as expected:
>
>       <mx:Panel id="holder" title="Panel" status="Active"
>                         width="75%" height="75%">
>               <s:Label text="fooo"/>
>               <s:Label  text="wooo"/>
>               <s:Label id="debug" text="tooverride"/>
>               <s:Button label="GO"   click="debug.text = String
>(holder.numElements)" />
>       </mx:Panel>
>
>I also noted the api list of FlexJS's Container is much shorter than
>Flex's
>Container, does this mean Container of FlexJS is not fully finished?
>
>
>Thanks
>Pan LI
>
>
>My Apache Flex community contribution is working on the open source
>Moonshine-IDE.com for FlexJS.

Reply via email to