Hi, i have some code that looks like this
function main9Click(event:MouseEvent):void {
var main9URL:URLRequest = new URLRequest("N:\ICT\Nationals\Unit 2\Pages\Cars");
navigateToURL(main9URL, "_self");
}
mainBtn6.addEventListener(MouseEvent.CLICK, main9Click);
I need to make it open so when you click on that button it opens the file
Cheers Sean