[Flashcoders] Creating a scrollable list: adding components to the scrollpane contents

2006-09-04 Thread Steve Krichten
Hi Matt, I created something very much like what you describe. You can have a look at it here... http://www.sleekdigital.com/News/5.aspx [Flashcoders] Creating a scrollable list: adding components to the scrollpane contents *Matt Bennett* bennett.matthew at gmail.com mailto:flashcoders

Re: [Flashcoders] Creating a scrollable list: adding components to the scrollpane contents

2006-09-02 Thread Jeroen Beckers
Couldn't you put the list component in a movieclip and add attach the movieclip to the scrollPane (which is a lot easier). Also, what is your 'createUniqueInstanceName()' function ? Matt Bennett wrote: Hello Flashcoders, I'm building a scrollable list, and I keep track of the list items with

[Flashcoders] Creating a scrollable list: adding components to the scrollpane contents

2006-09-01 Thread Matt Bennett
Hello Flashcoders, I'm building a scrollable list, and I keep track of the list items with a Collection. I'm having trouble adding items to it - I think I'm overwriting some instance variables somewhere. In the code below, listContainer is a reference to the contents of a ScrollPane component: