In my project I had situation that I need to load flex transparent flex application and to haveposssibility to click through this applicatio
I was trying to set backgroundAlpha to zero, but it doesn’t help me because application container overlap object under this application
here is a trick
on application create complete:
private function creationCompleteHandler():void
{
rawChildren.removeChildAt(0);
}
{
rawChildren.removeChildAt(0);
}
it will removes displayObject in application which overlaps objects under flex app

May 18th, 2009 at 4:07 pm
Interesting! Of course, I’d prefer avoid using “rawChildren” as risky stuff.
Maybe, backgroundGradientAlphas can do the same job for you here?
http://livedocs.adobe.com/flex/3/html/help.html?content=app_container_2.html
But, anyway, your finding is useful in a lot of situations where any non-ordinary control over the app background is needed.
Thanks, Rost
May 18th, 2009 at 4:21 pm
in this case backgroundGradientAlphas same as backgroundAlpha, you can make transparent app but will not be able to click through flex app on ‘pure’ ActionScript objects under this app because of app container
May 18th, 2009 at 4:49 pm
Ahh, clicking! Cool
August 27th, 2009 at 3:52 pm
You could play with mouseEnabled or set the borderSkin style to null.
August 27th, 2009 at 3:58 pm
Also try mouseChildren=”false”
October 27th, 2009 at 12:20 am
Very insightful Anton. Thank you very much for the tip! I will send you a link of where it was used at project end in spring ‘10.
October 27th, 2009 at 12:58 am
Update:
Setting borderSkin to null turned like a better choice since removing childAt(0) caused an error at runtime at the first mouse click on the app but continued to work w/o issues after.
Here’s the error:
ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
April 14th, 2010 at 12:10 pm
i try it ,but not work, do you know the solution?
August 4th, 2010 at 7:10 pm
whats the solution for Flash Builder since this solution isn’t available for that.