swf
swf copied to clipboard
Adds support for Flash SWF assets in OpenFL projects
cpp fix
Problems caused by type and class name have been resolved.
Errors at this line with any object with a blendmode set: `object.blendMode = objectData.blendMode;` with: `Can't cast String to i32` For some reason I have to explicitly call 'BlendMode.fromString': `object.blendMode...
sample fla + swf: [fonts.zip](https://github.com/openfl/swf/files/9646711/fonts.zip) The flash file above contains 3 text fields with 3 different fonts. On processing the swf I see this: ``` src/swf/SWFTimelineContainer.hx:258: WARNING: excess bytes: 2,...
I thought I'd try compiling the swf lib to Windows for a slight speed up, I encountered this error: ``` Error: AnimateLibraryExporter.cpp ./src/swf/exporters/AnimateLibraryExporter.cpp(1582): error C2664: 'hx::ObjectPtr lime::tools::Asset_obj::__alloc(hx::Ctx *,String,String,lime::tools::AssetType,Dynamic,hx::Null)': cannot convert...
The development builds section is outdated at https://github.com/openfl/swf#development-builds " Go to the tools folder: cd swf/tools Tell haxe to build: haxe build.hxml " The now correct actions would be "...
When a symbol has a shadow filter or glow filter with strength more than 100% it gets rendered as %100 in html5.
I needed MorphShape support for one of my projects, so I decided to implement it. It goes as follows: 1. Export the shape at the `0` and `65535` ratios to...
I tried out [openfl-player](https://github.com/openfl/openfl-player) and found some issues with runtime Swf parsing and swflite. these were the changes needed to get the project working. I couldn't get any swfs to...
fixes #16
Using the `SwfLiteExporter` causes graphical errors where child shapes appear in the wrong position. The problem is at [SWFLiteExporter.hx#L141](https://github.com/openfl/swf/blob/master/src/swf/exporters/SWFLiteExporter.hx#L141), [L558](https://github.com/openfl/swf/blob/master/src/swf/exporters/SWFLiteExporter.hx#L558) and [L811](https://github.com/openfl/swf/blob/master/src/swf/exporters/SWFLiteExporter.hx#L811) where the matrix is divided by 20. if...