Let's say I have a 2D cover in Flash CS4.FLAs format, and I would like to put it in an iPhone game that uses OpenGL ES, saving it in a vector format. The OpenGL-ready format can be just a list of vertex positions and colors for a triangle strip.
Is there a converter available that can do this easily?
I would recommend converting swfs to .svg format, either in Illustrator or using this online tool . I actually used a small java console application to automate this part for what I had to do recently, it worked very well.
Once this is done, you can use Qt to do a rendering bit for you, as commented here .
You can connect gameswf to iPhone, it supports most SWF tags, downloads and displays in OpenGL. It is C ++ encoded, so it's easy to embed it in your iPhone application. Be warned that it can be used, but has its limits.
Klaus Waller 's project looks pretty cool, look: https://github.com/claus/as3swf/wiki/shape-export-to-objective-c
You can use smokescreen to convert flash to html5 and then use the found HTML viewer in the interface. Only my 2 cents.
Source: https://habr.com/ru/post/1723196/More articles:изображения непрерывно перемещаются с помощьюи jQuery - jqueryQt4.5: using localsocket based on event loop before app.exec - multithreadingИмитация "Колеса фортуны" (метод Монте-Карло или метод мисс) - algorithmwindow.close () doesn't work in Firefox, any work around? - javascriptAccess Tabs in Firefox with C ++ XPCOM Extension - c ++SSIS Version Control + Subversion - version-controlUnicode, VBScript and HTML - htmlSingle JS / Canvas animation - javascriptPrint Eclipse Project - eclipseDisplaying Chinese text in an applet - javaAll Articles