In Flex, how to put some component ( like canvas ) appear at the center of the screen. ( even if there is scroll, it 开发者_StackOverflowshould be displayed at the center of the current view).
The PopUpManager's centerPopUp will do this easy, if that is what you're after.
But, if you want to display something in the center of a container that is a bit different. In that sitaution, you'll probably either have to write your own positioning code (in updateDisplayList() ) to center the component and position the others.
精彩评论