Creates the popup via factory/reflection

C# | Visual Basic | Visual C++ |
public DisplayObject CreatePopup( Type popupType, DisplayObjectContainer parent )
Public Function CreatePopup ( _ popupType As Type, _ parent As DisplayObjectContainer _ ) As DisplayObject
public: DisplayObject^ CreatePopup( Type^ popupType, DisplayObjectContainer^ parent )

- popupType (Type)
- The popup class for instantiation
- parent (DisplayObjectContainer)
- Parent component (for position calculations)
