# Unable to show hand cursor

**URL:** https://forum.kirupa.com/t/unable-to-show-hand-cursor/325101
**Category:** flash
**Created:** [September 26, 2011, 3:12pm UTC](https://forum.kirupa.com/t/unable-to-show-hand-cursor/325101 "2011-09-26T15:12:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rtheva](https://avatars.discourse-cdn.com/v4/letter/r/50afbb/32.png) [@rtheva](https://forum.kirupa.com/u/rtheva)
#### Post date: [September 26, 2011, 3:12pm UTC](https://forum.kirupa.com/t/unable-to-show-hand-cursor/325101/1 "2011-09-26T15:12:31Z")

</div>

I guys,

I am creating a loader for .swf , everything is fine , but i am unable to show the hand cursor. i get an error message :

Scene 1, Layer ‘action’, Frame 1, Line 26 1119: Access of possibly undefined property buttonMode through a reference with static type flash.display:SimpleButton.

Here is the code i use everything works except i am unable to show the hand cursor ( i have disable it for now ):

var swf1:MovieClip;  
var loader1:Loader = new Loader();  
var defaultSWF1:URLRequest = new URLRequest(“1.swf”);  
loader1.load(defaultSWF1);  
addChild(loader1);  
this.addEventListener(MouseEvent.CLICK, callLink);  
/_btn.buttonMode=true  
btn.useHandCursor = true;_/  
function callLink(event:MouseEvent) {  
//var [url:String](http://www.kirupa.com/forum/String) = stage.loaderInfo.parameters[‘clickTAG’];  
var [url:String = "http://cnn.com](http://www.kirupa.com/forum/String)";  
var request:URLRequest = new URLRequest(url);  
navigateToURL(request, ‘\_blank’);  
}
