Hi i m tying to add event in buttons, but these button not showing hand cursor or not taking events too... here my piece of code..
package code {
import flash.display.MovieClip;
import flash.display.SimpleButton;
import flash.events.MouseEvent;
public class switchsim extends MovieClip{
private var whichsim:String='work'
public function switchsim() {
setup()
}
public function setup(){
trace('sim setup')// trace is working
btnwork.addEventListener(MouseEvent.CLICK,worksimfun)<< here these buttons not taking events
btnplay.addEventListener(MouseEvent.CLICK,playsimfun)<< here these buttons not taking events
}
... class continue...
North America
Europe, Middle East and Africa
Asia Pacific