Archive: Flash 5 Splash


Flash 5 Splash
Justin and other developers -

I would like to see an NSIS splash to allow Flash 5 .swf files. It could possibly work like an HTML page set to a developer-specified size. I would like to see something like this.

-Duane


if the user has internet explorer >4 on their computer and the swf plugin, you can use the ole interface to make a HTML dlg quite easily..


sorry forgot so say, use 'ShowHTMLDialog' in 'MSHTML.DLL'. Dynamically load this (LoadLibrary .. GetProcAddress) so you can check if the user has internet explorer on the system. If this is not the case, you could display the simple bitmap..

Peter.


You could just create a flash projector file using the .swf viewer that comes with flash, and execute it at the beginning of the install.


Wouldn't that just make for an insanely large install file?


I was bored so I meddled with splash.c to be able to display a html dlg.

Note this is a quick hack but works okay.. you can do anything you can do in a normal web page (e.g. display flash files.. if IE cannot be loaded or isn't installed or something, it just displays the bmp..

http://www.windridge.junglelink.co.uk/splash.zip


Originally posted by prodangle
You could just create a flash projector file using the .swf viewer that comes with flash, and execute it at the beginning of the install.

[edit]
oops, meant to quote SarCaSM there ;) like this...
Originally posted by SarCaSM
Wouldn't that just make for an insanely large install file?
Yeah - s'pose it would :D :D

Thanks for your post pjw, there will be some really cool uses for that - I'll go 'n chuck together some HTML/JAVASCRIPTery to then show something else in IE if the flash plugin isn't available.

Yay, quick hack. That was quick!!!!!!! I can't wait to try it out.

-Duane


if you can show an animated gif for the splash, why not just export the flash into a .gif? that is, of course, unless you are wanting user interaction via the flash movie.


I wanted actual Flash. It had nothing to do with user interaction, but rather, great animation that would have a loading process and other things. The GIF would have been a great idea, but the NSIS splash never supported anything except for .bmp .

I forgot to ask ... Does the splash have an Dev-specified size??? I really don't know.

-Duane


There is the obvious problem of what will happen if the user doesn't have the Flash 5 plugin.

I'd stay away from glitzy splash screens, personally, since they just distract the user. If he downloaded your installer, he already knows what your product is (hopefully) and doesn't care about looking at some l33t animations. If the animation was the point of the installer, I'd just distribute a self-playing EXE instead...

But then again, it's your installer after all.


The size of the dlg is specified in the HTML file.
The flash plugin can be detected either by HTML or quickly by JavaScript.


Edge -
I plan on having Flash on my site, so that takes care of the plug-in prob. second, I was only going to have a short 2 second splash that said "Thanks For Downloading ... On-Demand Audio!!!!!!" With voice and text. It would also be cool to have animation, or I wouldn't have asked. But I see your reason.

-Duane