Hi everyone,

I use to make buttons to link to other pages of my site using getURL in Actionscript 2 how do I do it in Actionscript 3, here is my code and its not working. Any help would be very much appreciated. Thanks.

homeBtn.addEventListener(MouseEvent.CLICK, fncHome);

function fncHome(e:Event):void{
trace("home");
getURL("index.php");
}

Thanks,
Literain