rgpottinger
06-08-2010, 03:03 PM
I am trying to do a simple menu to give people the option of a few different programs to install from a CD, so I have created an autorun bat that runs a flash menu (projector exe) and then use buttons in it to choose the programs to install.
Problem is only one seems to work so can anyone see what I am doing wrong?
//
pressit_btn.addEventListener(MouseEvent.CLICK, pressitClick);
function pressitClick(event:MouseEvent):void {
fscommand("exec", "expressit_setup.msi");
// fscommand("quit");
}
inkrite_btn.addEventListener(MouseEvent.CLICK, inkriteClick);
function inkriteClick(event:MouseEvent):void {
fscommand("exec", "inkrite_photobook_installation.exe");
// fscommand("quit");
}
irfan_btn.addEventListener(MouseEvent.CLICK, irfanClick);
function irfanClick(event:MouseEvent):void {
fscommand("exec", "iview427_setup.exe");
// fscommand("quit");
}
Flash really isn't my thing so forgive the incompetence :)
Problem is only one seems to work so can anyone see what I am doing wrong?
//
pressit_btn.addEventListener(MouseEvent.CLICK, pressitClick);
function pressitClick(event:MouseEvent):void {
fscommand("exec", "expressit_setup.msi");
// fscommand("quit");
}
inkrite_btn.addEventListener(MouseEvent.CLICK, inkriteClick);
function inkriteClick(event:MouseEvent):void {
fscommand("exec", "inkrite_photobook_installation.exe");
// fscommand("quit");
}
irfan_btn.addEventListener(MouseEvent.CLICK, irfanClick);
function irfanClick(event:MouseEvent):void {
fscommand("exec", "iview427_setup.exe");
// fscommand("quit");
}
Flash really isn't my thing so forgive the incompetence :)