Closed delitaru closed 10 years ago
Could you try to install LWFS https://github.com/gree/lwfs and to use "Publish for LWF" command in Adobe Flash? This command will be automatically installed by LWFS.
I got it working (or more like i got a workaround): the 1st error was simple enough (convert every image used to lossless). 2nd error i avoided by converting the text to bitmap. 3rd error somehow disappeared after fixed the 2nd error.
I will still try out that LWFS maybe this weekend and see how it goes.
Hello,
I have a problem converting a particular swf file using the swf2lwf converter, here is the error from the converter:
ERROR: Game.swf force to update (swf2lwf -i -p Game.swf) ERROR: Bitmap is as JPEG. Bitmap should be as 'Loss-less'. ERROR: Text should be 'Dynamic Text'. ERROR: Text should be 'Dynamic Text'. ERROR: Text should be 'Dynamic Text'. ERROR: There are some Hit frames of the button. swf2lwf caused an exception: undefined method
graphic_objects' for nil:NilClass backtrace: C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lib/swf2lwf/swf2lwf.rb:2017:in
parse_define_button2' C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lib/swf2lwf/swf2lwf.rb:2703:inparse_tags' C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lib/swf2lwf/swf2lwf.rb:2753:in
parse_swf' C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lib/swf2lwf/swf2lwf.rb:3529:inswf2lwf' C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lib/swf2res.rb:72:in
swf2res' C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lwfs.rb:657:inblock in convert' C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lwfs.rb:636:in
each' C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lwfs.rb:636:inconvert' C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lwfs.rb:401:in
block (3 levels) in ' C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lwfs.rb:384:incatch' C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lwfs.rb:384:in
block (2 levels) in 'So im asking if anyone has any insight to get rid of these errors since its most probably a problem with the file. I have the original fla files but im not sure where to start to fix them. (Im quite new in modifying fla files)