Hey everyone. So, I just learned about the fscommand and can't believe I didn't know about it before! It is amazing and does almost exactly what I need it to do.
However, I can't get the new window/exe file that opens to be centered. Is there a way to do this so that when the .exe file is open, it is centered and on top? I found one solution from years back here:
http://board.flashkit.com/board/showthread.php?t=656462
But wow. That is so complex and I can't even get it to work right.
So, I was hoping that if I showed you my code, you all might be able to help me with this. I hope that some kind of code came out before AS3 was launched that can fix this. Thank you all in advance, and here's my code!
RelayBtn_btn.onRelease=function(){
fscommand("exec", "BathingLineAD.exe");
}
I've had over 20 views, but still no help or answer? I know the code isn't bad b/c it's simple and I've tested it. It works. I just need to know if there's a way I can get the file that opens (BathingLineAD.exe) to be centered on the desktop, on top of the main file that's open. Help would be very greatly appreciated. ![]()
North America
Europe, Middle East and Africa
Asia Pacific