import flash.system.fscommand;
import flash.events.MouseEvent;
import flash.system.Capabilities;
btn_pdfnow.addEventListener(MouseEvent.CLICK, open_pdfile);
function open_pdfile(event:MouseEvent):void
{
var os:String = flash.system.Capabilities.os.substr(0, 3);
var url:String;
if(os == "Win"){
url = "file.exe";
}else{
url = "file.app";
}
fscommand("exec",url);
}
AS 2 is it possible to make characters click-to-move?
-
What I'm asking specifically is, is it possible to make characters (or just
plain symbols) dynamically move to your cursor when you click on something?
I'v...
2 weeks ago
0 comments:
Post a Comment