How to Open Local File in AS3?

Posted by Sean on Stack Overflow See other posts from Stack Overflow or by Sean
Published on 2010-04-22T17:32:17Z Indexed on 2010/04/23 7:33 UTC
Read the original article Hit count: 715

Filed under:

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

© Stack Overflow or respective owner

Related posts about actionscript-3