/ Published in: ActionScript 3
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.
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.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// works in IE9 Set borderSkin="{null}" in MXML // original code - doesn't work in IE9 on Windows 7 in some cases rawChildren.removeChildAt(0);