Matt,

I've just tried extending mx.core.Application but I get this error.
Do you know what the problem might be?

TypeError: Error #1006: Call attempted on an object that is not a
function.
        at mx.core::Container/createBorder()
        at mx.core::Container/mx.core:Container::createChildren()
        at mx.core::UIComponent/initialize()
        at mx.core::Container/initialize()
        at mx.core::Application/initialize()
        at mx.managers::SystemManager/::initializeChild()
        at mx.managers::SystemManager/::initializeTopLevelWindow()
        at mx.managers::SystemManager/::frameEndHandler()

Tim



--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> You probably need to make your test swf subclass Application so that
> everything can initialize properly.
> 
> Matt
> 
> -----Original Message-----
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of sufibaba
> Sent: Tuesday, April 04, 2006 9:42 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: CursorManager problem?
> 
> 
> Matt,
> 
> It's an Actionscript Component extending UIComponent and is part of a
> Flex Project.  However, at the moment, I am just testing it by itself
> (just running this testClass.as file by itself and not being called
> via an MXML tag).
> 
> Are you saying that in order to use the CursorManager, my AS component
> would have to be called via an MXML tag?  Are there other ways?
> 
> Cheers,
> 
> Tim
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Matt Chotin" <mchotin@> wrote:
> >
> > Is this part of a Flex project or AS only?  You probably need the full
> > framework available for CursorManager.
> > 
> >  
> > 
> > ________________________________
> > 
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of sufibaba
> > Sent: Monday, April 03, 2006 6:06 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] CursorManager problem?
> > 
> >  
> > 
> > Dear Flexors,
> > 
> > I am trying to use the busy cursor in a custom actionscript component
> > and I am getting the following error.
> > 
> > TypeError: Error #1009: null has no properties.
> >     at mx.managers::CursorManager$/setBusyCursor()
> >     at CursorTest/::turnOnBusyCursor()
> > 
> > ---------------import ----------------------------------
> > 
> >  import mx.managers.CursorManager;
> > 
> > -----------   Calling function --------------------------
> > 
> >         private function turnOnBusyCursor():void
> >   &nb! sp;      {
> >             // Set busy cursor.
> >             CursorManager.setBusyCursor();
> > 
> >         }
> > 
> > Cheers,
> > 
> > Tim
> > 
> > 
> > --
> > 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
> >
> <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+
> >
> site+design+development&w2=Computer+software+development&w3=Software+des
> >
> ign+and+development&w4=Macromedia+flex&w5=Software+development+best+prac
> > tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>  
> > 
> > Computer software development
> >
> <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=We
> >
> b+site+design+development&w2=Computer+software+development&w3=Software+d
> >
> esign+and+development&w4=Macromedia+flex&w5=Software+development+best+pr
> > actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>  
> > 
> > Software design and development
> >
> <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=
> >
> Web+site+design+development&w2=Computer+software+development&w3=Software
> >
> +design+and+development&w4=Macromedia+flex&w5=Software+development+best+
> > practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>  
> > 
> > Macromedia flex
> >
> <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+
> >
> development&w2=Computer+software+development&w3=Software+design+and+deve
> >
> lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1
> > 66&.sig=OO6nPIrz7_EpZI36cYzBjw>  
> > 
> > Software development best practice
> >
> <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&;
> >
> w1=Web+site+design+development&w2=Computer+software+development&w3=Softw
> >
> are+design+and+development&w4=Macromedia+flex&w5=Software+development+be
> > st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>  
> > 
> >  
> > 
> >  
> > 
> > ________________________________
> > 
> > YAHOO! GROUPS LINKS 
> > 
> >  
> > 
> > *    Visit your group "flexcoders
> > <http://groups.yahoo.com/group/flexcoders> " on the web.
> >       
> > *    To unsubscribe from this group, send an email to:
> >      [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]> 
> >       
> > *    Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > Service <http://docs.yahoo.com/info/terms/> . 
> > 
> >  
> > 
> > ________________________________
> >
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to