PDA

View Full Version : Nesting a button within a ScrollPane Component


KalelofNYC
10-18-2005, 06:04 PM
Hi All,

I was wondering if anyone knew how to post a button within a scrollpane. Right now my button is just in my library and whenever my script calls it, it plots itself using an X/Y co-ordinate at the top left corner of the ScrollPane, but all this does is plot it over the scrollpane on the upper left corner. So if I add more buttons it continues past the bottom of the ScrollPane. I would like it to nest itself WITHIN the scrollpane so when more buttons are inserted it will provide the viewer with a Scrollbar.

I'm hoping someone has a fix for this, I'm driving myself mad trying to figure it out. (I'm new to components.)

Thanks!

sleekdigital
10-21-2005, 03:00 PM
http://www.actionscript.org/forums/showthread.php3?t=87084