When i use following:
var child:DisplayObjectContainer = dso.getChildAt( dso.numChildren -1 ) as DisplayObjectContainer;
trace(child); // [object MenuView]
My question now is if i want to use a if-case to see that it really is MenuView… something like:
if( child == 'MenuView'){...
I can not figure it out how to set such if case into work :S
You can use is operator:
Update: If importing
MenuViewclass is impossible in your case, then you can try to use describeType global function: