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);
}
Somestuff that i made with flash and photoshop
-
Since i'm using flash for a work, i decide to publish some of my arts over
here, hope ya'll like it :o https://files.catbox.moe/oo0fzx.jpg
https://files.ca...
1 week ago
0 comments:
Post a Comment