Well, now I'm not sure actually... I will need to rebuild the SDK, but
it will take time before I get around to do it. So, probably next
week.
On Fri, Aug 22, 2014 at 11:01 PM, Alex Harui wrote:
> I just remember hearing that SWFDump works, but the reverse did not.
> SWFDump calls SwfxPrinter whi
I just remember hearing that SWFDump works, but the reverse did not.
SWFDump calls SwfxPrinter which converts SWF to XML. There once was an
entry point to convert XML to SWF, but I think we abandoned maintaining
it. I'm not surprised that SWFEncoder is in the SWFUtils jar and even
referenced by
More to the point though: I don't know whose version of 16.16 fixed
point is correct. Adobe specification is very vague on this subject. I
managed to recreate the behaviour of Adobe's (and presently, Apache
Flex) compilers, but I'm not sure of implications. It seems like at
very large number (somet
This code is used in swfdump (this is how I found it), but I didn't
know whether it's used by mxmlc.
One more thing though, this entire function is exactly equivalent to
http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html#numberOfLeadingZeros%28int%29
(except one needs to do 32 - Integ
Have you proven that MXMLC actually uses SwfEncoder.java to create a SWF?
Have you looked at the code in Falcon that does this? That code might
work better.
-Alex
On 8/18/14 3:07 AM, "Left Right" wrote:
>http://pastebin.com/KjvksPDX
>
>I think, I'm getting closer: when Flex compiler code enco
http://pastebin.com/KjvksPDX
I think, I'm getting closer: when Flex compiler code encodes, and when
Flash player decodes /negative/ 16.16 fixed point numbers, it is
mistaken by one bit, so the whole part becomes doubled.
On Sun, Aug 17, 2014 at 5:26 PM, Left Right wrote:
> Sorry, the table looks
Sorry, the table looks crooked, here's a better view:
http://pastebin.com/rhw9sFtQ
Best,
Oleg
On Sun, Aug 17, 2014 at 5:23 PM, Left Right wrote:
> https://git-wip-us.apache.org/repos/asf/flex-sdk/repo?p=flex-sdk.git;a=blob;f=modules/swfutils/src/java/flash/swf/SwfEncoder.java;h=03a100dda92989d5