Skip to main content
Known Participant
Aug 27, 2009 12:35 AM UTC
Answered

how can i get contentWidth and contentHeight of ContainerController

In flex4, DisplayObjectContainerController was replaced by ContainerController,  there is no contentWidth and contentHeight in the new  ContainerController. So how can i get contentWidth and contentHeight which i used to autosize my sprite.

This topic is closed to new replies. Start a new post to keep the conversation going.
rdermerCorrect answer
Inspiring
Aug 27, 2009 12:58 AM UTC

Use ContainerController.getContentBounds()

Richard

2 replies

rdermerCorrect answer
Inspiring
Aug 27, 2009 12:58 AM UTC

Use ContainerController.getContentBounds()

Richard

Translate
fatmckAuthor
Known Participant
Aug 27, 2009 6:11 AM UTC

thanks a lot.

Translate