Re: [flexcoders] Re: Cursor change problem
Here is a Flex 1.5 solution: mx:HBox width=200 height=100 backgroundColor =0xFF mouseOver=event.target.> mx:Text width=100% text=Display Hand Cursor over this white box //mx:HBox You need to specify both theevent.target.>andevent.target.useHandCursor=true Also, related blog entry: http://www.prismix.com/blog/2005/11/how_do_i_display_a_hand_cursor.cfm HTH Niklas On 25/11/05, Jignesh Dodiya [EMAIL PROTECTED] wrote: Don't know about flex 1.5.but it works in flex-2 with following code mx:Button id=myButton label=Copy Text useHandCursor= true buttonMode=true / On 11/25/05, Allen Manning [EMAIL PROTECTED] wrote: Does this work for Flex 1.5?Best,Allen-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of sreeni_rSent: 25 November 2005 11:31 To: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cursor change problemHi Allen,Along with useHandCursor, buttonMode property also needs to be set totrue to show the hand cursor.It is property available on Sprite hence available with all UI components in Flex.-Sreenivas.--- In flexcoders@yahoogroups.com, Allen Manning [EMAIL PROTECTED] wrote: Hello, I saw the below post on Flexcoders, but didn't see an answer.Anyone know how to use the hand cursor? Is there a reference to the hand cursor to use in setCursor - `hand' or something like that?I couldn't find it in the docs. Best, Allen Probably an easy question for those who know... I'm trying to change the default cursor to a hand cursor when hovering over a component. The component is based on the VBox. I want to use the Flexs hand-cursor icon, which appears within MovieClips components e.g.Buttons when useHandCursor property is set, and not have to create my own icon. Can't find this in the docs. Is there something like setHandCursor() and removeHandCursor() within flex? setCursor(cursorSymbol:String, priorityLevel:Number, xOffset:Number, yOffset:Number) All help is appreciated. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.7/182 - Release Date:24/11/2005--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.362 / Virus Database: 267.13.7/182 - Release Date: 24/11/2005--No virus found in this outgoing message. Checked by AVG Free Edition.Version: 7.1.362 / Virus Database: 267.13.7/182 - Release Date: 24/11/2005 Yahoo! Groups Sponsor ~--AIDS in India: A lurking bomb. Click and help stop AIDS now. http://us.click.yahoo.com/VpTY2A/lzNLAA/yQLSAA/nhFolB/TM~- -- Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/ -- jignesh dodiya -- 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. -- Niklas RichardsonPrismix LtdFlex and ColdFusion Experts! -- 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
RE: [flexcoders] Re: Cursor change problem
Does this work for Flex 1.5? Best, Allen -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sreeni_r Sent: 25 November 2005 11:31 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cursor change problem Hi Allen, Along with useHandCursor, buttonMode property also needs to be set to true to show the hand cursor. It is property available on Sprite hence available with all UI components in Flex. -Sreenivas. --- In flexcoders@yahoogroups.com, Allen Manning [EMAIL PROTECTED] wrote: Hello, I saw the below post on Flexcoders, but didn't see an answer. Anyone know how to use the hand cursor? Is there a reference to the hand cursor to use in setCursor - `hand' or something like that? I couldn't find it in the docs. Best, Allen Probably an easy question for those who know... I'm trying to change the default cursor to a hand cursor when hovering over a component. The component is based on the VBox. I want to use the Flexs hand-cursor icon, which appears within MovieClips components e.g. Buttons when useHandCursor property is set, and not have to create my own icon. Can't find this in the docs. Is there something like setHandCursor() and removeHandCursor() within flex? setCursor(cursorSymbol:String, priorityLevel:Number, xOffset:Number, yOffset:Number) All help is appreciated. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.7/182 - Release Date: 24/11/2005 -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.7/182 - Release Date: 24/11/2005 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.7/182 - Release Date: 24/11/2005 Yahoo! Groups Sponsor ~-- AIDS in India: A lurking bomb. Click and help stop AIDS now. http://us.click.yahoo.com/VpTY2A/lzNLAA/yQLSAA/nhFolB/TM ~- -- 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/
Re: [flexcoders] Re: Cursor change problem
Don't know about flex 1.5.but it works in flex-2 with following code mx:Button id=myButton label=Copy Text useHandCursor= true buttonMode=true / On 11/25/05, Allen Manning [EMAIL PROTECTED] wrote: Does this work for Flex 1.5?Best,Allen-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of sreeni_rSent: 25 November 2005 11:31To: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cursor change problemHi Allen,Along with useHandCursor, buttonMode property also needs to be set totrue to show the hand cursor.It is property available on Sprite hence available with all UI components in Flex.-Sreenivas.--- In flexcoders@yahoogroups.com, Allen Manning[EMAIL PROTECTED] wrote: Hello, I saw the below post on Flexcoders, but didn't see an answer.Anyone know how to use the hand cursor? Is there a reference to the hand cursor to use in setCursor - `hand' or something like that?I couldn't find it in the docs. Best, Allen Probably an easy question for those who know... I'm trying to change the default cursor to a hand cursor when hovering over a component. The component is based on the VBox. I want to use the Flexs hand-cursor icon, which appears within MovieClips components e.g.Buttons when useHandCursor property is set, and not have to create my own icon. Can't find this in the docs. Is there something like setHandCursor() and removeHandCursor() within flex? setCursor(cursorSymbol:String, priorityLevel:Number, xOffset:Number, yOffset:Number) All help is appreciated. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.7/182 - Release Date:24/11/2005--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.362 / Virus Database: 267.13.7/182 - Release Date: 24/11/2005--No virus found in this outgoing message. Checked by AVG Free Edition.Version: 7.1.362 / Virus Database: 267.13.7/182 - Release Date: 24/11/2005 Yahoo! Groups Sponsor ~--AIDS in India: A lurking bomb. Click and help stop AIDS now. http://us.click.yahoo.com/VpTY2A/lzNLAA/yQLSAA/nhFolB/TM~--- Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/-- jignesh dodiya -- 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.