Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Integrating swf in c++

Tags:

c++

flash

Is there any way of making c++ gui applications that include .swf?

The swf file are pretty small and easier to make than gif or other kind of animations so it would be nice to be able to include them.

Some recommendations of a library, free or even open source...

like image 774
csiz Avatar asked Dec 09 '22 20:12

csiz


2 Answers

You can host the Flash player itself in your app. You just have to implement the webbrowser side of the plugin architecture you choose. You have two choices, Netscape style plugins and ActiveX. If you only want to run on Windows, hosting it as an ActiveX control is very straightforward. If you want to run cross platform, you have to implement the browser side of the NPAPI plugin stuff, which is actually fairly involved.

like image 69
i_am_jorf Avatar answered Dec 18 '22 13:12

i_am_jorf


Not free or open-source, but Scaleform GFx is a commercial cross-platform Flash player.

like image 45
Adam Rosenfield Avatar answered Dec 18 '22 14:12

Adam Rosenfield