View Full Version : Can I use the tween class to resize a scrollpane?

08-30-2007, 07:28 PM
Does anyone know if/how I can use the tween class to resize a scrollpane. I have a listener on the stage so when the stage is resized the scrollpane also resizes. At the moment i am just using...

scrollPane.move ((sWidth-scrollPane._width)/2,150);

I would like to tween the resize because it looks nicer ;)

I usually use the tween class, but with a scrollpane i need to use setSize rather than ._width ._height like with a normal mc. Any ideas?