Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Oct 2009
    Posts
    18
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question Getting the Hand Cursor to work over list items

    I've created a sidebar menu using a list component for a t-shirt site I'm working on. When the user rolls over the list items, I want the handcursor to appear. The problem I'm having is that when I apply "buttonmode = true" to the list component, the hand-cursor does appear, but only when it is between the list elements, not when it is over them. I'm guessing that I should apply the buttonmode to the individual list items, but how do I do this? Here's the relevant code:

    Code:
    			public function create_linkList():void
    				{
    					linkListItems();
    					
    					linkList.x = bgImg.x + 72.8*(bgWidth/1150);
    					linkList.y = bgImg.y + 122.2*(bgHeight/768);
    					linkList.width = 228.8*(bgWidth/1150);
    					linkList.height = 171.9*(bgHeight/768);			
    					linkList.dataProvider = links;
    					linkList.alpha = 0;
    					linkList.setStyle("color",0xFFFFFF);					
    					linkList.setStyle("textRollOverColor",0xFF99AA);
    					linkList.setStyle("textSelectedColor",0xFFFFFF);	
    					linkList.setStyle("borderStyle","none");
    					linkList.setStyle("fontSize",12);
    					linkList.setStyle("fontFamily","Verdana");
    					linkList = true;
    					background.addChild(linkList);
    					background.setChildIndex(linkList,background.numChildren-1);
    					linkList.addEventListener(ListEvent.ITEM_CLICK,goToLink);			
    				}
    				
    			private function linkListItems():void
    				{
    					links[0] = "Add us on MySpace"
    					links[1] = "Follow us on Facebook"
    					links[2] = "Follow us on Twitter"
    					links[3] = "Contact Us"
    				}

  • #2
    New to the CF scene
    Join Date
    Nov 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Same issue--Please help

    Hi,

    Am also experiencing the same issue. Please let me know if you find a solution to this problem. Please email me to sreejithsps@gmail.com


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •