we must notice this before we add a sprite object instance to titlewindow:
While the child
argument to the method is specified as of type DisplayObject, the argument must implement the IUIComponent interface to be added as a child of a container. All Flex components implement this interface.
if you want to draw in container component in flex wo must realize that all components have inhert the graphic property.