Bug 27531

Summary: swftopython outputs invalid code for skewXTo
Product: swfdec Reporter: Daniel <daniel>
Component: libraryAssignee: swfdec ml <swfdec>
Status: RESOLVED NOTOURBUG QA Contact: swfdec ml <swfdec>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: SWF to use swftopython on

Description Daniel 2010-04-08 00:03:15 UTC
Using swftopython resulted in all instances of skewXTo() being written like so,

$character244_f0->skewXTo(0.198792);

Which results in a parse error in Python, naturally. Also, semi-colons are not needed in Python, but it does not raise a parse error. Was using swftopython on attached swf.

SWFDec 0.8.4 via Gentoo's portage package manager.
Comment 1 Daniel 2010-04-08 00:04:46 UTC
Created attachment 34796 [details]
SWF to use swftopython on

swftopython bunny1.swf > bunny.py
Comment 2 Benjamin Otte 2010-04-08 04:05:06 UTC
swf2python is not part of swfdec.
I believe it is part of libming - see http://www.libming.org/ and file your bug there.
Comment 3 Daniel 2010-04-08 11:13:38 UTC
Oops, sorry about that, I'll do that. Thanks!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.