On 5/17/06, Claudia Barnal <[EMAIL PROTECTED]> wrote:

> COMPONENT (MyPanel):
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml"
> creationComplete="creationCompleteHandler()">
>        <mx:Script>
>                <![CDATA[
>                        private function creationCompleteHandler():void
>                        {
>                                // trace(parent); // Works
>                                trace(parent.controlBar); // Gives warning
<snip>

You have to cast 'parent' to type Application.


--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to