Try this Sergey,
?xml version=1.0 encoding=iso-8859-1? mx:Application xmlns:mx=http://www.adobe.com/2006/mxmlmx:Panelmx:ControlBar id=myCB
mx:Button click=myCB.visible=false;//mx:ControlBar/mx:Panel/mx:Application
You can give the Control bar an id and then set it's visible to false dynamically.
Hope it helps,
-sam
On 8/23/06, Sergey Kovalyov [EMAIL PROTECTED] wrote:
Hi All!Is there any way to show and hide ControlBar dynamically in Panel? Iwant to make two states for Panel: one with ControlBar and another one- without. But as I see, ControlBar is more like compile-time feature.
:(Sergey.
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Software development tool
Software development
Software development services
Home design software
Software development company
YAHOO! GROUPS LINKS
Visit your group "flexcoders" on the web.
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___