4 Mar 2009 20:17
Re: funny mtasc/swfmill/static classes problem
Hey guys!
I have uploaded to my hosting server a precompiled binary version of swfmill, as it would be impossible to compile it on the servers. The problem is the server libraries are older than my up-to-date devel linux machine, so when I first uploaded my SWFMILL I got all sorts of exotic dependency/version problems between libc6, libgpp, etc ... So I recompiled it in an quite old linux machine I have at home.
The versions of the libraries are very old in comparison with one compiled in a contemporary distribution, as you can see:
libxml2-2.6.18
libxslt-1.1.13
libpng-1.2.2
freetype2-2.0.3
What can I expect from this compiled swfmill? Will the old libraries affect its performance or stability? (i know it's more a speculative question, but I'll be glad if someone shares thoughts with me :)
Regards!
On 28 Feb 2009, at 08:24 , Rodolfo Lopez <at> nebular streams wrote:
Hi all!This is not really a problem related to SwfMill but I post it here because it is quite funny and related to the swfmill 'cousins' and I hope it can be useful for people. Sorry for the people that may found it off-topic, although I think it may be interesting for some of you guys that work with these tools together.I'm working in sort of an app-generator, that uses SWFMILL to compile resources, then MTASC to inject a 'stub' class with a "static main" function so I initialize the application.All works OK.The scenario is as follows: I generate two applications. I run one application, then at some point launch the other one, but unloading the first one before (unloadMovie). Well... what happens is quite funny: this second application loads correctly, but the stub executed is the stub from the first (unloaded) application. These stubs are also generated dynamically, so as the stubs are different, the second application fail, as it is a "megamix" of the first stub and the second application :)I have solved it generating a random name for the class stub. Anybody has a clue on how can the stub class survive an unloadMovie? And not being replaced by the freshly loaded one?Cheers,Rodolfo._______________________________________________swfmill mailing list
rodolfo lopez pintor
nebular streams
_______________________________________________ swfmill mailing list swfmill@... http://osflash.org/mailman/listinfo/swfmill_osflash.org
RSS Feed