Embed a flash .swf file?
BlitzMax Forums/BlitzMax Programming/Embed a flash .swf file?| 
 | ||
| Anyone know if it's possible to embed a flash program (.swf) directly in a blitzmax app? Thx. | 
| 
 | ||
| I believe there are libraries that could allow such a thing, but none have been wrapped (afaik). | 
| 
 | ||
| Quick, turn on the Brucey Sign!   | 
| 
 | ||
| I think brucey or someone already did it | 
| 
 | ||
| There's GTK+Gnash, not much else. | 
| 
 | ||
| I requested Brucey for GameSWF wrapper before but Brucey is too busy to do that, the library url is: http://tulrich.com/geekstuff/gameswf.html The library itself has stopped maintenance for a long time, but seems enough for game UI or simple animation. | 
| 
 | ||
| What use do you have for this? Maybe you could use the htmlview (except on Fltk linux). | 
| 
 | ||
| Oh, who knows, Mark. I think that Max2D would be orders of magnitude faster. There are the BaH.Cairo, The person who made the animated SVGs at design-ireland.net did use SMIL to do so. @CyBeRGoth Yeah, include, or maybe engraft would be a better word. "Link into" sounds most appropriate to me, as engraft kind of implies that Flash will eventually be a part of BlitzMax. | 
| 
 | ||
| yeah why would you want to embed flash into bmax | 
| 
 | ||
| "yeah why would you want to embed flash into bmax" Various reasons, cut scenes (world of goo's cutscenes are done in flash), creating a vector based game (loco roco etc). I am not sure if embedding is the correct word to use though, as that implies that you make the game in flash and just want to play it in blitzmax, I think intergrating max and flash would be better, but then again with the work involved in doing that you could probably create a full working vector based engine in the same time. | 
| 
 | ||
| Given that the swf spec is now public, there's nothing stopping one of you writing your own compatible renderer :-) There's a small BlitzMax SVG viewer tech-demo here - talking of svg... (built on top of Qt, rather than Cairo). | 
| 
 | ||
| embedding blitz into flash would be useful |