Skip to content
⌘ NSIS Forum Archive

Launch a flash movie in fullscreen

4 posts

cle0fus#

Launch a flash movie in fullscreen

Hello everyone-

I am a pretty new NSIS user and have been forced to use NSIS for work. Anyway, I am no programmer...so please go easy on me.

I have been using NSIS to make simple game installers for about 3 months now. You can see some of my handiwork at www.legacygames.com, some of the titles I worked on were: Clueless, Mean Girls, Pretty in Pink, Pet Pals...ect.

So, I have found myself having to use NSIS for things other than installers lately. For example, I used NSIS to create an executable that spits out a config.ini file that has the install directory written in it for a game. (I know how to make the installer do this, but another company that we work with were not able to, hence the little config.exe).

Now, I need to use it to make a little exe that will:
1. Launch a flash movie in full screen.
2. Close the movie after about 5 seconds.
3. Launch the game.

I can get the movie to launch with 'Exec "$EXEDIR\flashmovie.exe"' but I can't get the movie to launch in fullscreen. I have tried using random parameters SW_SHOWMAXIMIZED, "-f" and even "fullscreen" as a shot in the dark.

I know how to launch a game executable...it's the full-screen, waiting 6 seconds and closing down the movie that are giving me problems.

I had to create a flash movie with an EXE extension to get the movie to even launch through NSIS.

Please feel free to let me know if I should be trying to use another program and this is not something I can make NSIS do. Again, I am not a programmer and I am not well versed in NSIS. I built a lot of game installers, but they are all based on the same script that I built one time.

Thanks a lot for any input you can give.

Cheers,

cle0fus
Anders#
is the exe made by flash?(adobe) or some other app? anyway, ask them, they would know, or you could try running flashmovie.exe /?
cle0fus#
Hello all,

We make the flash movie here...so I think that setting up the movie itself to open in fullscreen is definitely a possibility.

We will give this a try.

And to answer Anders, one of us made the movie in flash. It is a flash movie with an *EXE extension. I am not sure how my coworker made it, but I can get info on that.

Cheers and thank you so much for your replies.

-Cle0fus