Skip navigation
Kyungjae
Currently Being Moderated

How to make same binaries using mxmlc, without timestamp?

May 22, 2011 10:32 PM

It seems like mxmlc generates different binary even when the source code is not changed.

for, example,

 

// Test.as

package

{

    public class Test { }

}

 

and when i run mxmlc like this :

mxmlc Test.as -output case1.swf

mxmlc Test.as -output case2.swf

 

and case1.swf and case2.swf is different!

I found that mxmlc sets metadata and some timestamp in .swf file,

 

I could get the same binary by "unpacking" .swf, removing timestamp, and manually re-pack it.

( http://stackoverflow.com/questions/5632318/mxmlc-generates-different-b inary-on-same-source )

But it'll be happier when there is a special switch which generates same binary data ( That means, if mxmlc removes all timestamp and metadata which generated in compile time ) !

Is there any way to do it, or should i build specialized mxmlc compiler?

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points