I am creating a dummy mobile application in Flash Builder 4.5. In application code I am using a VGroup and I am adding and removing elements on rum time. Now I want to set VGroup background color to black.
How can I do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t: VGroup is a layout container. It contains no graphic elements.
Read this answer about layout containers for a little more information: Add layout to Flex UIComponent
The easiest solution to your problem, if you don’t want to touch the VGroup, would be something like this:
But you could also use BorderContainer instead: