Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrFuscator
LoadEvent.as is ignored

Chris
Guest
Quote
2008-07-03 00:31:27

Just tested irrFuscator on a Flash9-project but found a problem. The project had an class file called: LoadEvent.as, and it just seemed to ignore that file. Searching the web i found that LoadEvent is a class in Flex 3, but since its not in Flash9 I had no problem having it in my project. I renamed the class to CustomLoadEvent and everything went smooth there after.

Seems like a great program. I love the transparency opposed to obfuscators who works directly on the SWF.


Chris
Guest
Quote
2008-07-03 00:33:46

[quote=Chris (Guest)]Just tested irrFuscator on a Flash9-project but found a problem. The project had an class file called: LoadEvent.as, and it just seemed to ignore that file. Searching the web i found that LoadEvent is a class in Flex 3, but since its not in Flash9 I had no problem having it in my project. I renamed the class to CustomLoadEvent and everything went smooth there after.
[/quote]

Sorry, forgot the version. irrFuscator 1.1.2

Oh, and also you forgot to update the version number in the about box i irrFuscatorGui :-)




niko
Moderator
Quote
2008-07-03 12:12:47

The irrfuscatorGui version is correct, it hasn't changed since the last release :)
Thanks for reporting the problem with the LoadEvent, going to try to improve this in a future version.


Chris
Guest
Quote
2008-07-03 15:21:14

[quote=3]The irrfuscatorGui version is correct, it hasn't changed since the last release :)
Thanks for reporting the problem with the LoadEvent, going to try to improve this in a future version.[/quote]

I think you should consider to let them have the same version number, just to avoid confusion.

Anyway, just had another case of file-ignoring from irrFuscator. I have a class-file called Register.as. When I run iirFuscator 1.1.2 without the --obfuscateconsts flag everything is fine.
When I use the --obfuscateconsts the file is not written, and compiling gives an error: Type was not found or was not a compile-time constant: _gs1122.

I have observed the following:
[list]
[*]During irrFuscators run it DOES write: Parsing c:\mydir\Register.as
[*]In the irrfuscator_symbols.txt there IS a: Register => _gs1122
[*]During irrFuscators run it DOES NOT write: Writing c:\myotherdir\_gs1122
[*]There is NO file c:\myotherdir\_gs1122
[/list]


chris
Guest
Quote
2008-07-03 15:39:32

[quote=Chris (Guest)]
I have observed the following:
[list]
[*]During irrFuscators run it DOES write: Parsing c:\mydir\Register.as
[*]In the irrfuscator_symbols.txt there IS a: Register => _gs1122
[*]During irrFuscators run it DOES NOT write: Writing c:\myotherdir\_gs1122
[*]There is NO file c:\myotherdir\_gs1122
[/list][/quote]

It seems that the Register.as file is wrongly given the name: _lh814.as
In the irrfuscator_symbols.txt there IS a: REGISTER => _lh814, REGISTER being a constant somewhere.

Just checking I find a have an loadEvent function in my program too, which of course clashed with the LoadEvent class given my first error.

It seems you have a non-case-comparision somewhere...   8)

BTW: It sounds kind of wierd that an error like this have not been found in the 100.000 lines of code in Darkness Spring. I mean my project is only 20.000 lines of AS3, and I've already hit it twice.  ??)



niko
Moderator
Quote
2008-07-04 11:11:56

Ah, that's understandable, although I don't know about the case problem yet. Thanks.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internationa?" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact