Mouse event currentTarget.x is null in HTML5

You can access the properties of the currentTarget in neko/html5 when you cast it to its type:

trace(cast(e.currentTarget, DisplayObject).x);

this works, but why this is necessary when targeting neko/Html5 I don’t know neither

2 Likes