Hide Flex Component From SWFLoader
How can I hide a com开发者_StackOverflow社区ponent and what AS3 code to use to hide a Flex Component from an external swf file?
I don't understand what you mean by hiding.
You can hide a component from visual display using the visible property on the component. I believe this is is imp,implemened in UIComponent and all Flex Components should be able to access this.
Once a component is added to it's parent, it can never be completely hidden. But, if you create it as a private variable in ActionScript; it'll make it hard to access the data.
Two Independent SWFs generally have no access to code inside the other unless you have set up a localconnection or are loading one SWF inside the other.
精彩评论