Skip to content
⌘ NSIS Forum Archive

Flash Player in nsis?

14 posts

herdell#

Flash Player in nsis?

Anyawy to call Flash Player in a nsis script?
Video works, but I never saw nothing about flash objects like .swf files.

I mean: play a swf file in a nsis script using flash player installed in pc.

With Atutoit there's a way to do this, but I want in nsis.
jiake#
Try FlashLib, FireCtrl, WaterCtrl DLLs. They are all developed for Inno by "ResTools", and can be used in NSIS by System plugin.

See also:
http://wenku.baidu.com/view/fb800d6b...ffe47acbd.html

NSIS 2.44 Enhanced Edition (CHS)

Note that there is a green "download" icon on the left of each download link.
Install it and you can find an example in %NSISDIR%\Examples\FlashLib.

Developter's blog: Examples for using FireCtrl or WaterCtrl in inno:


Using in NSIS:

如流,是百度旗下新一代智能工作平台,以知识管理为核心,构建AI时代工作流水线,助力企业实现提效创新,赋能企业在智能经济时代打造核心竞争力。

Or you can search in Google for more, the pages are almost Chinese, but you can find the script.
herdell#
Ok, i've found the script and the flashlib.dll, but now I need some help. The original script show up the flash animation in the left bitmap of nsis installer. I wanna edit the script to show the animation in their own window, like a splash, and hide the other pages of the installer. After show the animation, would the nice if the script autoclose.

In the link below I uploaded the script and the plugin (FlashLib.dll) and an axemple made in AutoIt of what I wanna do in NSIS.

I really tried to edit the nsis script but I can't. I'm a noob in nsis yet.

Link:
herdell#
Originally Posted by Joel View Post
@herdell: see my plugin nsisweb
What? Your plugin can play flash player objects?
But I really don't know how. 🙁 I'm not a expert user.
jiake#
To use nsWeb you must have a webpage for a Flash, so I thought the FlashLib is better.
I have modified your script to show an SWF on a single custom page or on whole page.
See the attachment: http://www.mediafire.com/?vk444nzrtcowcwc
herdell#
Your script 'swf_Full.nsi' is great. But I really need that it auto close the window/process after play the animation once. I tried to set: AutoCloseWindow and SetAutoClose but none works. Also tried Killprocess, but it kill the process before animation start.
Please help.
jiake#
Modify a UI file to fit your flash, and use a Timer to close the main window after seconds.
jiake#
The above file in mediafile has been deleted, I have uploaded new examples that will close automatically.
http://www.mediafire.com/?dvxo0jrf183updu
herdell#
thx a lot. now works fine. unfortunatelly there's no way to get the window transparent, right?
will be awesome if is possible show only the swf, without background. I have a swf with transparency here.