Perhaps you should be adding the cards in createChildren() and setting the x, y, and z in updateDisplayList().
-TH --- In [email protected], "bmilesp" <[EMAIL PROTECTED]> wrote: > > Hello, > I've tried posting this on actionscript.org with no luck. > I have a class that extends canvas and i populate the object like so: > > > for each (var group:XML in dataProvider.group) { > card[i] = new CardComponent(); > card[i].x = this.x + (offset_x * i); > card[i].y = this.y + (offset_y * i); > card[i].z = z_depth; > this.addChild(card[i]); > i++; > } > > the scrollbar will appear when the number of cards exceeds the > boundaries, but the scrollbar doesn't scroll the content when dragged > back and forth. Although the scrollbar does size correctly > proportionate to the content. Is there additional code i need to add > for the scroll functionality to work? Thank you in advance -b >

