How can I hide (visible=false) a component and what AS3 code to use to hide a Flex Component from an external swf file?

I have found out this doc, but I have no idea on how to implement it:
http://livedocs.adobe.com/flex/3/htm...ntrols_15.html

------------
FLEX 4 SDK


Thanks, Yan