as3hx icon indicating copy to clipboard operation
as3hx copied to clipboard

as3hx.Compat.parseInt() instead of Std.parseInt()

Open T1mL3arn opened this issue 9 years ago • 3 comments

// as3
subTextureRegion.x = int(subTextureObject[ConstValues.A_X]) / scale;
// Haxe
subTextureRegion.x = as3hx.Compat.parseInt(subTextureObject[ConstValues.A_X]) / scale;

T1mL3arn avatar May 19 '16 14:05 T1mL3arn

@T1mL3arn please check the last release, and close this issue if all ok

SlavaRa avatar Aug 05 '16 22:08 SlavaRa

Checked. Issue still there. as3hx was used as is - without any options, with default config file.

T1mL3arn avatar Aug 16 '16 14:08 T1mL3arn

config file setup by default <useCompat value="true" />, therefore, it should be used as3hx.Compat.parseInt.

SlavaRa avatar Aug 16 '16 15:08 SlavaRa