Return to Snippet

Revision: 43336
at August 6, 2011 01:16 by scottwatkins


Updated Code
// works in IE9
Set borderSkin="{null}" in MXML


// original code - doesn't work in IE9 on Windows 7 in some cases
rawChildren.removeChildAt(0);

Revision: 43335
at March 22, 2011 08:58 by scottwatkins


Initial Code
rawChildren.removeChildAt(0);

Initial URL

                                

Initial Description
UPDATE: The original code posted produces an error in IE9 on Windows 7. Please use the following snippit instead.

If you need to embed a flex application inside another swf, the flex background (even if alpha=0) will not allow your cursor to interact with the containing application from within the bounds of the embedded application. This snippet removes that default flex background.

Initial Title
UPDATED: Remove Flex Background

Initial Tags
background, Flex

Initial Language
ActionScript 3