There is no other way then to extend the panel because the property you need is 'titleBar' which is protected. To do this in mxml you can create an mxml file something like this:
<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
public function get titleBar():UIComponent
{
return super.titleBar;
};
]]>
</mx:Script>
</mx:Panel>
This enables you to access the property from the outside.
Greetz Erik
__._,_.___
--
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 |
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___

