[flexcoders] Re: How to show a hand cursor when mouse over a s:Label control ?

2010-05-28 Thread itaid1


Did that, doesn't work. It looks like an annoying bug in Flex 4

--- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote:

 try mouseChildren=false.
 
 --- In flexcoders@yahoogroups.com, itaid1 itaid1@ wrote:
 
  Hi
  
  I'm using this inside a spark skin class, but the mouse does not change 
  when hovering over the control.
  
  Tnx
  
  -Itai
  
  s:Label
  id=labelDisplay
  left=5
  fontSize=16
  styleName.up=upStyle
  styleName.over=overStyle
  styleName.down=downStyle
  styleName.disabled=disabledStyle
  buttonMode=true
  useHandCursor=true 
  mouseChildren=true
  mouseOver=Mouse.cursor = MouseCursor.HAND;
  mouseOut=Mouse.cursor = MouseCursor.ARROW;
  /
 





[flexcoders] Re: How to show a hand cursor when mouse over a s:Label control ?

2010-05-26 Thread itaid1
If you mean mouseEnabled=true (lowercase 'm', with quotations marks around 
the boolean value) as shown below, then, it doesn't make it work, otherwise 
please explain where to put 'MouseEnabled=true'.   

 s:Label
id=labelDisplay
left=5
fontSize=16
fontWeight=bold
styleName.up=upStyle
styleName.over=overStyle
styleName.down=downStyle
styleName.disabled=disabledStyle
buttonMode=true
useHandCursor=true 
mouseChildren=true
mouseEnabled=true 
mouseOver=Mouse.cursor = MouseCursor.HAND;
mouseOut=Mouse.cursor = MouseCursor.ARROW;
/

--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:

 MouseEnabled=true?
 
 
 On 5/25/10 9:54 AM, itaid1 ita...@... wrote:
 
 
 
 
 
 
 Hi
 
 I'm using this inside a spark skin class, but the mouse does not change when 
 hovering over the control.
 
 Tnx
 
 -Itai
 
 s:Label
 id=labelDisplay
 left=5
 fontSize=16
 styleName.up=upStyle
 styleName.over=overStyle
 styleName.down=downStyle
 styleName.disabled=disabledStyle
 buttonMode=true
 useHandCursor=true
 mouseChildren=true
 mouseOver=Mouse.cursor = MouseCursor.HAND;
 mouseOut=Mouse.cursor = MouseCursor.ARROW;
 /
 
 
 
 
 
 
 --
 Alex Harui
 Flex SDK Team
 Adobe System, Inc.
 http://blogs.adobe.com/aharui





Re: [flexcoders] Re: How to show a hand cursor when mouse over a s:Label control ?

2010-05-26 Thread Fotis Chatzinikos
in flex 3 the hand curson needs mouseChildren = false not true...

Not sure if it applies to spark thought... give it a try

On Wed, May 26, 2010 at 11:07 AM, itaid1 ita...@yahoo.com wrote:



 If you mean mouseEnabled=true (lowercase 'm', with quotations marks
 around the boolean value) as shown below, then, it doesn't make it work,
 otherwise please explain where to put 'MouseEnabled=true'.

 s:Label
 id=labelDisplay
 left=5
 fontSize=16
 fontWeight=bold

 styleName.up=upStyle
 styleName.over=overStyle
 styleName.down=downStyle
 styleName.disabled=disabledStyle
 buttonMode=true
 useHandCursor=true
 mouseChildren=true
 mouseEnabled=true
 mouseOver=Mouse.cursor = MouseCursor.HAND;
 mouseOut=Mouse.cursor = MouseCursor.ARROW;
 /

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Alex
 Harui aha...@... wrote:
 
  MouseEnabled=true?
 
 
  On 5/25/10 9:54 AM, itaid1 ita...@... wrote:
 
 
 
 
 
 
  Hi
 
  I'm using this inside a spark skin class, but the mouse does not change
 when hovering over the control.
 
  Tnx
 
  -Itai
 
  s:Label
  id=labelDisplay
  left=5
  fontSize=16
  styleName.up=upStyle
  styleName.over=overStyle
  styleName.down=downStyle
  styleName.disabled=disabledStyle
  buttonMode=true
  useHandCursor=true
  mouseChildren=true
  mouseOver=Mouse.cursor = MouseCursor.HAND;
  mouseOut=Mouse.cursor = MouseCursor.ARROW;
  /
 
 
 
 
 
 
  --
  Alex Harui
  Flex SDK Team
  Adobe System, Inc.
  http://blogs.adobe.com/aharui
 

  



[flexcoders] Re: How to show a hand cursor when mouse over a s:Label control ?

2010-05-26 Thread Amy
try mouseChildren=false.

--- In flexcoders@yahoogroups.com, itaid1 ita...@... wrote:

 Hi
 
 I'm using this inside a spark skin class, but the mouse does not change when 
 hovering over the control.
 
 Tnx
 
 -Itai
 
 s:Label
   id=labelDisplay
   left=5
   fontSize=16
   styleName.up=upStyle
   styleName.over=overStyle
   styleName.down=downStyle
   styleName.disabled=disabledStyle
   buttonMode=true
   useHandCursor=true 
   mouseChildren=true
   mouseOver=Mouse.cursor = MouseCursor.HAND;
   mouseOut=Mouse.cursor = MouseCursor.ARROW;
   /





[flexcoders] Re: How to show a hand cursor when mouse over a s:Label control ?

2010-05-26 Thread itaid1


Nope, doesn't work.

s:Label
id=labelDisplay
left=5
fontSize=16
fontWeight=bold
styleName.up=upStyle
styleName.over=overStyle
styleName.down=downStyle
styleName.disabled=disabledStyle
buttonMode=true
useHandCursor=true 
mouseChildren=false
mouseEnabled=true 
mouseOver=Mouse.cursor = MouseCursor.HAND;
mouseOut=Mouse.cursor = MouseCursor.ARROW;
/

/s:SparkSkin


--- In flexcoders@yahoogroups.com, Fotis Chatzinikos fotis.chatzini...@... 
wrote:

 in flex 3 the hand curson needs mouseChildren = false not true...
 
 Not sure if it applies to spark thought... give it a try
 
 On Wed, May 26, 2010 at 11:07 AM, itaid1 ita...@... wrote:
 
 
 
  If you mean mouseEnabled=true (lowercase 'm', with quotations marks
  around the boolean value) as shown below, then, it doesn't make it work,
  otherwise please explain where to put 'MouseEnabled=true'.
 
  s:Label
  id=labelDisplay
  left=5
  fontSize=16
  fontWeight=bold
 
  styleName.up=upStyle
  styleName.over=overStyle
  styleName.down=downStyle
  styleName.disabled=disabledStyle
  buttonMode=true
  useHandCursor=true
  mouseChildren=true
  mouseEnabled=true
  mouseOver=Mouse.cursor = MouseCursor.HAND;
  mouseOut=Mouse.cursor = MouseCursor.ARROW;
  /
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Alex
  Harui aharui@ wrote:
  
   MouseEnabled=true?
  
  
   On 5/25/10 9:54 AM, itaid1 itaid1@ wrote:
  
  
  
  
  
  
   Hi
  
   I'm using this inside a spark skin class, but the mouse does not change
  when hovering over the control.
  
   Tnx
  
   -Itai
  
   s:Label
   id=labelDisplay
   left=5
   fontSize=16
   styleName.up=upStyle
   styleName.over=overStyle
   styleName.down=downStyle
   styleName.disabled=disabledStyle
   buttonMode=true
   useHandCursor=true
   mouseChildren=true
   mouseOver=Mouse.cursor = MouseCursor.HAND;
   mouseOut=Mouse.cursor = MouseCursor.ARROW;
   /
  
  
  
  
  
  
   --
   Alex Harui
   Flex SDK Team
   Adobe System, Inc.
   http://blogs.adobe.com/aharui