@splhack
I tried your code, but it makes everything very large. I ended up using FitForHeight again, and use some variable in LWFProp ( offset and scale ) to adjust my level. It’d be better if there is some kind of quick method for this.
I’m looking forward RC0 compatibility also, I tried compiling LWF with RC0, and it generates errors.
@splhack Sorry for so long to reply. But there is no testJaney.lwf in ~/Desktop/LWFS_work_output/native . I searched all my mac, pity that there is no lwf named testJaney.lwf too.
I tried to generate lwf by swf2lwf.rb, but was stumbed. Here is my problem: https://github.com/gree/lwf/issues/65. I’m completely new to ruby.
Then I run the start cmd in the tools (shotcut is attached below) to get lwf. It works well until I need to name the picture myself so as to replace texture.
I thought it was because I hadn’t run gem correctlly at first, however, my college has successed running swf2lwf.rb to get lwf, he also couldn’t get lwf by using “publish for lwf” in flash cs5.5. (He is using windows).
@splhack My problem is how to translate swf to lwf while keeping the bitmap in swf named by myself. I’m not quite understand how the new version matters. I can get lwf successfully even with old version, my point is how to unchang the exported bitmap name.
@jianhan513@163.com If you use “Publish for LWF” to emit original bitmaps, you need to put related files under one folder. Could you please make a folder LWFS_work/testJaney/ and put your files (testJaney.fla and testJaney.swf) under it?
Then, please open LWFS_work/testJaney/testJaney.fla and invoke “Publish for LWF,” which creates a folder LWFS_work/testJaney/testJaney.bitmap/ and emits original bitmaps under it. LWFS will recognize these files and will emit all converted files under LWFS_work_output/native/testJaney/.