You say you are getting a blank screen, but the canvas has no other children, so I would expect you to have an empty Canvas.
What are you hoping to see?
Perhaps you need to also set the includeInLayout property to false, which makes the Canvas lay itself out as if the ComboBox were not even there.
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
Flex / AIR Development, Training, and Support Services
The problem occurs when I add showState="true"
Do you set this in AS3 or in MXML?
If you set it through AS3 it should be:
It does work when I put 'adres.showState=true;' in AS3. But I was just wondering why it doesn't work when I put it as an element to the tag in mxml (such as in this example: http://www.adobe.com/devnet/flex/quickstart/building_components_in_mxml/#advanced_mxml ).
Also, I've put includeInLayout in the child canvas but that doesn't seem to fix it
Message was edited by: Shizorable