Quote Originally Posted by Northcode View Post
First, be sure you're using the right center.exe file! The old one works using a command line argument, the new one uses a CMD file.

The cmd file has to have the same name as the EXE file you EXE from Flash. If you use fscommand("EXEC", "CENTER.EXE") then you should have CENTER.CMD in the same directory (the fscommand directory).

The contents of the CMD file should be a fully qualified path to the file you want to launch, like "C:\WinNT\Notepad.exe" or a relative path to the file you want to launch (relative to where the CMD file is).

Try it from the command line first to make sure you've got it working properly before you try and call it from Flash
Hi Northcode

I have made those changes and my Flash Project (.exe) file opens in the center of the screen, however the issue i am now having is regardless of what my project screen size is i have a whit margin on the left and right.

Could you let me know how to fix this please.

Amar