[flexcoders] URGENT: Canvas and SimpleButton

2010-02-04 Thread trzewiczek
Hi everyone, I'm very new to AS3/Flex. I started to work in a bigger AS3/Flex project and after some work done in pure AS3 with a lot of Shape, SimpleButton and Sprite classes use, it turned out the main visual part is being written as a subclass of mx.containers.Canvas. I can't just addChild

Re: [flexcoders] URGENT: Canvas and SimpleButton

2010-02-04 Thread Alex Harui
In Flex, Navigator children must be Containers or INavigatorContent Container children must be IUIComponents UIComponent children can be anything. Shape and SimpleButton are smaller and faster, but they cannot cooperate with the other features of the framework like focus, styles and skinning.