# Inconsisten 1060 error using fscommand

**URL:** <https://forum.kirupa.com/t/inconsisten-1060-error-using-fscommand/317045>\
**Category:** flash\
**Created:** [December 8, 2010, 10:22pm UTC](https://forum.kirupa.com/t/inconsisten-1060-error-using-fscommand/317045 "2010-12-08T22:22:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kdnce](https://avatars.discourse-cdn.com/v4/letter/k/df788c/32.png) [@Kdnce](https://forum.kirupa.com/u/Kdnce)\
**Post date:** [December 8, 2010, 10:22pm UTC](https://forum.kirupa.com/t/inconsisten-1060-error-using-fscommand/317045/1 "2010-12-08T22:22:43Z")

</div>

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
