I'm porting a Flex 3.1 application to Flex4.5.
Here is the Flex 3.1 code:
<mx:Canvas creationPolicy="auto" borderThickness="0" ...>
<mx:Image .... />
This is the Flex 4.5 code I got so far:
<s:HorizontalLayout ..... /> </s:layout > <mx:Image ... /> </s:Group>
<s:HorizontalLayout ..... />
<mx:Image ... />
I could not find the place to set createPolicy and borderThickness with Flex 4's s:Group. Is Flex 3's mx:Canvas equivalen to s:Group in Flex4?
I know s:Panel has the creationPolicy, but I do not want to use Panel. Any suggestions? Thanks.
Group's aren't skinnable. I think the intent is that they're job is simply to manage layout, so if you want a border, you wrap your group in another component like BorderContainer.
As for creationPolicy, I'm guessing that you're Canvas was being used in one of the mx Navigator classes (TabNavigator, Accordion, etc.). You can wrap your BorderContainer in a NavigatorContent component to manage creation policy.
Message was edited by: -Hob