Hey Hugo,
What exactly is the 'this' instance?
If it is a Royale class, then you do have the option of using the
Reflection lib.
On Tue, Apr 4, 2023 at 11:25 AM Hugo Ferreira
wrote:
> Hi,
>
> This works on debug build:
>
> for (var field:String in this)
> {
> if (Strings.endsWith(field,
Hi,
This works on debug build:
for (var field:String in this)
{
if (Strings.endsWith(field, "_"))
field = field.substr(0, field.length - 1);
}
Because the value object preserves all the variables, however in release
build this does not work anymore because the build release change all
var
Yes, it's on by default.
I guess that there must be some other reason why the builds don't match up.
I just happened to notice this, in particular, was different between the
Ant build and the Maven build.
You may need to extract the .swc files and manually compare the contents to
see what is diff