开发者

Hide Flex Component From SWFLoader

开发者 https://www.devze.com 2023-01-03 08:31 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消