Hey singmajesty, thanks for your reply
I’m not doing any try/catch myself : I have some in the code because as3hx conversion turned out that way but I’m removing them progressively.
The try/catch that were bothering me were not in my code though : they came from stablexui using Reflect, and Reflect.setProperty doing a try/catch. It tries first to call a setter for the property, at least when exporting to flash target (my final target is c++, flash is for testing and debugging).
So for every Reflect.setProperty call on a property that doesn’t have a setter you get a caught error on flash target.
On Reflect.hasField : my current understanding is that it won’t “see” getters/setters, am I right ?
Also I’m still very new to this and there’s some kind of warning on Reflect.hasField that says it’s not guaranteed to work on non-anonymous structures (which I understand as “Dynamic” for now)
I’m not using Reflect everywhere, in case you’re wondering I created a custom system for our game that handles animations, sounds and all kind of visual effects. And a WYSIWYG editor for it. The code that loads that data in game is the part that uses Reflect most
So when that part of the game started working again I got litteraly overwhelmed with caught errors interruptions I didn’t think about looking at the debug menu until the next morning, and instead started searching the net, looking at my projetc file etc and finally post here ^^
Looks like I wrote a long post ^^