Hello,
I have two projects that use this same piece of code …
myButton.addEventListener(MouseEvent.CLICK, myButtonClick);
function mybuttonClick(event:MouseEvent):void{
fscommand(“exec”,“myApp.exe”)
}
When I publish the older project I get zero errors but for some reason the same code gives me this error in my new project …
“Warning: 1060: Migration issue: The method fscommand is no longer supported. Moved to flash.system package. Also, please see flash.external.External.Interface class for Javascript/ActionScript communication.”
I am confused why this problem is inconsistent across two projects that both use it. If fscommand is no longer supported shouldn’t I get an error on the older project?
**EDIT: Sorry I forgot to mention I am using CS4 and AS3 for both projects. I added another piece of code to the new project on frame 1 that mirrors the older project and I get the same error …
fscommand(“showmenu”, “false”);**
Thank you for any help in advance.
-Kdnce