robin7
(Robin)
March 12, 2019, 5:03am
1
My goal is to parse and render SWFs using Haxe. Does OpenFL have support for this? To what extent?
Which is the latest SWF library?
And are those libs for OpenFL and Flash or just OpenFL?
elsassph
(Philippe)
March 12, 2019, 9:01am
2
You’ll have better OpenFL support on their Discord forum.
From what I remember it does have very basic SWF rendering capabilities.
1 Like
Gama11
(Jens Fischer)
March 12, 2019, 11:55am
3
I think the swf
library has been merged into OpenFL core at some point, which is why it hasn’t received an update on Haxelib in two years (and the openfl/swf repo on GitHub doesn’t exist anymore).
1 Like
elsassph
(Philippe)
March 24, 2019, 2:32pm
4
1 Like
nanjizal
(Nanjizal)
January 18, 2020, 7:12pm
5
NME or OpenFL provide the same swf ( or very similar support ).
https://github.com/nmehost/gm2d/tree/efcbf9490df30745407f3bc4a44ce5db51bbaa78/gm2d/swf
There are samples in both OpenFL and NME that use swf format. I would also take a look at haxefoundation/format/swf as it’s the basis of this, and also look at https://github.com/conscience1/hxswfml
I have a simple example of using a swfs in OpenFL
https://github.com/nanjizal/Thorn
Sorry it’s cs3 flash swf’s.
You can see animating on the link, you may need to reload to get it to run well.