kingyiren / efflex

Automatically exported from code.google.com/p/efflex
0 stars 0 forks source link

Can't add any childs to viewStackk #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Make a view stack
2. Add two canvas
3. Add one button to each canvas

What is the expected output? What do you see instead?
The effect will freez.

What version of the product are you using? On what operating system?

Please provide any additional information below.

This is the simple code I use:
<viewStackEffects:FlipPapervision3D id="flipPapervision3D"/>

<mx:ViewStack id="viewStack" width="400" height="190" clipContent="true">

    <mx:Canvas width="100%" height="100%" backgroundColor="0xb80000"
        borderColor="0xFFFFFF" borderThickness="5" borderStyle="solid"
        hideEffect="flipPapervision3D" showEffect="flipPapervision3D">

        <mx:Button label="s1" />

    </mx:Canvas>

    <mx:Canvas width="100%" height="100%" backgroundColor="0x85ba00"
        borderColor="0xFFFFFF" borderThickness="5" borderStyle="solid"
        hideEffect="flipPapervision3D" showEffect="flipPapervision3D">

        <mx:Button label="s1" />
    </mx:Canvas>

</mx:ViewStack>

<mx:ToggleButtonBar dataProvider="{viewStack}"/>

Original issue reported on code.google.com by gha...@gmail.com on 11 Mar 2009 at 12:01