RE: [flexcoders] f2b3 custom ToolTip troubles

2006-06-02 Thread Gordon Smith



In Flex 2, set the mouseEnabled property of your tooltip instance to false. The standard ToolTip component does this in its constructor:

    // Make the ToolTip invisible to the mouse so that it doesn't
    // interfere with the ToolTipManager's mouse-tracking.
    mouseEnabled = false;

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of n51red
Sent: Friday, June 02, 2006 9:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] f2b3 custom ToolTip troubles

I've been replacing tool tips with arbitrary IUComonents by 
intersepting the toolTipCreate method and changing the toolTip property 
to my component. This works quite well except for when the tooltip is 
does not have room to appear to the bottom left of the cursor. In this 
situation the the tooltip appears under the cursor causing an 
oscillation of mouseOut, mouseOver events, with the tooltip flashing on 
and off.

Does anyone have any tips on getting this functionallity without 
breaking the tooltip mechanism?

Thanks,
N






--
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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












[flexcoders] f2b3 custom ToolTip troubles

2006-06-02 Thread n51red



I've been replacing tool tips with arbitrary IUComonents by 
intersepting the toolTipCreate method and changing the toolTip property 
to my component. This works quite well except for when the tooltip is 
does not have room to appear to the bottom left of the cursor. In this 
situation the the tooltip appears under the cursor causing an 
oscillation of mouseOut, mouseOver events, with the tooltip flashing on 
and off.

Does anyone have any tips on getting this functionallity without 
breaking the tooltip mechanism?

Thanks,
N









--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.