It shows         btn.buttonMode = true has an error => "TypeError: Error 
#1009: Cannot access a property or method of a null object 
reference." 


here is the code, please click the link below..

http://www.privatepaste.com/0d0GdjsUId


Thank you



--- In flexcoders@yahoogroups.com, Laurent Cozic <[EMAIL PROTECTED]> 
wrote:
>
> Add the mx_internal declarations at the top of your class:
> 
> import mx.core.mx_internal;
> use namespace mx_internal;
> 
> 
>  --
> Laurent Cozic
> 
> Flash, Flex and Web Application development
> http://pogopixels.com
> 
> 
> 
> ----- Original Message ----
> From: flexawesome <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Tuesday, August 5, 2008 3:33:56 PM
> Subject: [flexcoders] Re: How to show the Hand Cursor on the Close 
Button?
> 
> 
> The button is at the TOP/LEFT corner in the TitleWindow.
> 
> it shows the error msg below... any suggestions? 
> 
> 1120: Access of undefined property mx_internal.
> 
> --- In [EMAIL PROTECTED] ups.com, "Claudiu Ursica" 
<the_braniak@ ...> 
> wrote:
> >
> > var btn:Button = this.mx_internal: :closeButton;
> > btn.useHandCursor = true;
> > 
> > However the mx:internal might change in the future so this is not
> > bullet proof.
> > 
> > 
> > --- In [EMAIL PROTECTED] ups.com, "flexawesome" <flexawesome@ > 
> wrote:
> > >
> > > Hey there,
> > > 
> > > In the titlewindow component, I set showCloseButton = true; Do 
> you know 
> > > how can I show the Hand Cursor on the Close button?
> > > 
> > > Thanks
> > >
> >
>


Reply via email to