RE: [flexcoders] Use hand cursor

2005-03-15 Thread Robert Stuttaford








Thanks Tracy, James, and Jason! Valuable
input!

 

-hands out ‘buy this person a beer’
coupons-

 









From: Jason Szeto
[mailto:[EMAIL PROTECTED] 
Sent: 14 March 2005 11:47 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Use hand
cursor



 

You can also use the ImageButton component
that ships in the extras folder of Flex 1.5. 

 

Jason

 









From: Tracy Spratt
[mailto:[EMAIL PROTECTED] 
Sent: Monday, March 14, 20059:18
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Use hand
cursor



 

I found this:

 

“mouseOver="event.target.


 

It's the onRelease that fixes it.”

 

But also:

 

“FYI,
I've found it much easier to use an tag
than to overide all the handlers on an image tag.”

 

Tracy

 









From: Robert
Stuttaford [mailto:[EMAIL PROTECTED]]

Sent: Monday, March 14, 20059:29
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Use hand
cursor



 

Hi flex coders,

 

Does anyone know how I can force use of the hand cursor,specifically
on an Image control? Ideally I’d love to just go instance.useHandCursor = true;

 

Do I have to write a derivative and override the relevant
mouse handlers?

 

Thanks!

Robert

 

 











RE: [flexcoders] Use hand cursor

2005-03-14 Thread Jason Szeto








You can also use the ImageButton component
that ships in the extras folder of Flex 1.5. 

 

Jason

 









From: Tracy Spratt
[mailto:[EMAIL PROTECTED] 
Sent: Monday, March 14, 20059:18
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Use hand
cursor



 

I found this:

 

“mouseOver="event.target.


 

It's the onRelease that fixes it.”

 

But also:

 

“FYI,
I've found it much easier to use an tag
than to overide all the handlers on an image tag.”

 

Tracy

 









From: Robert
Stuttaford [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 14, 20059:29
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Use hand
cursor



 

Hi flex coders,

 

Does anyone know how I can force use of the hand cursor,
specifically on an Image control? Ideally I’d love to just go instance.useHandCursor = true;

 

Do I have to write a derivative and override the relevant mouse
handlers?

 

Thanks!

Robert

 












Re: [flexcoders] Use hand cursor

2005-03-14 Thread James Ward
I am really surprised that MM didn't do a better job with this. My
personal feeling is that anything that can be clicked, should by
default, use the hand cursor. Sorry for the rant... So I ended up
creating wrapper classes for clickable items. For instance:

class components.Button extends mx.controls.Button
{
function init():Void
{
super.init();
useHandCursor = true;
}

function onPress():Void
{
super.onPress();
}
}


Hope that helps.

-James


On Mon, 2005-03-14 at 16:29 +0200, Robert Stuttaford wrote:
> Hi flex coders,
> 
> 
> 
> Does anyone know how I can force use of the hand cursor, specifically
> on an Image control? Ideally Iâd love to just go
> instance.useHandCursor = true;
> 
> 
> 
> Do I have to write a derivative and override the relevant mouse
> handlers?
> 
> 
> 
> Thanks!
> 
> Robert
> 
> 
> 
> Yahoo! Groups Sponsor
> ADVERTISEMENT
> click here
> 
> 
> 
> __
> 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 the Yahoo! Terms of
> Service.
> 






RE: [flexcoders] Use hand cursor

2005-03-14 Thread Tracy Spratt








I found this:

 

“mouseOver="event.target.


 

It's the onRelease that fixes it.”

 

But also:

 

“FYI,
I've found it much easier to use an tag
than to overide all the handlers on an image tag.”

 

Tracy

 









From: Robert
Stuttaford [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 14, 20059:29
AM
To: [EMAIL PROTECTED]
Subject: [flexcoders] Use hand
cursor



 

Hi flex coders,

 

Does anyone know how I can force use of the hand cursor,
specifically on an Image control? Ideally I’d love to just go instance.useHandCursor = true;

 

Do I have to write a derivative and override the relevant
mouse handlers?

 

Thanks!

Robert