Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion Errors #81

Closed
delitaru opened this issue Aug 11, 2014 · 2 comments
Closed

Conversion Errors #81

delitaru opened this issue Aug 11, 2014 · 2 comments

Comments

@delitaru
Copy link

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:inparse_define_button2'
C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lib/swf2lwf/swf2lwf.rb:2703:in parse_tags' C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lib/swf2lwf/swf2lwf.rb:2753:inparse_swf'
C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lib/swf2lwf/swf2lwf.rb:3529:in swf2lwf' C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lib/swf2res.rb:72:inswf2res'
C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lwfs.rb:657:in block in convert' C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lwfs.rb:636:ineach'
C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lwfs.rb:636:in convert' C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lwfs.rb:401:inblock (3 levels) in '
C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lwfs.rb:384:in catch' C:/Users/Meng/Desktop/LWFS/LWFS/.a/lwfs/lwfs.rb:384:inblock (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)

@splhack
Copy link
Contributor

splhack commented Aug 12, 2014

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.

@delitaru
Copy link
Author

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.

@splhack splhack closed this as completed Aug 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants