Skip navigation
Currently Being Moderated

fscommand, position opened window?

Apr 17, 2012 12:37 PM

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");

}

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points