I’m using mcs from my swf library as simple level templates and need to read custom class names of nested objects.
This worked pretty well until I updated Haxe, OpenFl and Lime to recent versions.
var obj:Dynamic = levelDesign.getChildAt(i);
var oType:String = Type.getClassName(Type.getClass(obj));
Now it returns openfl.display.MovieClip instead of custom class names.
Am I missing something? Nothing I found on the internet seemed to work, and as it’s super convenient, I wouldn’t like to use instance names…