Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 21st April 2009, 23:36   #1
cle0fus
Junior Member
 
Join Date: Apr 2009
Posts: 2
Send a message via AIM to cle0fus Send a message via Yahoo to cle0fus
Unhappy 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
cle0fus is offline   Reply With Quote
Old 22nd April 2009, 08:23   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 2,777
is the exe made by flash?(adobe) or some other app? anyway, ask them, they would know, or you could try running flashmovie.exe /?

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 22nd April 2009, 09:47   #3
Takhir
Major Dude
 
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,220
http://www.eolsoft.com/freeware/flas...p/switches.htm declares /f should work.
Takhir is offline   Reply With Quote
Old 22nd April 2009, 15:28   #4
cle0fus
Junior Member
 
Join Date: Apr 2009
Posts: 2
Send a message via AIM to cle0fus Send a message via Yahoo to 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
cle0fus is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump