Суть.
Код: Выделить всё
private function dataCompleteHandler(event:Event):void { var data:XML = new XML( (event.currentTarget as URLLoader).data ); var parties:XMLList = data.party; scene.addChild(blocksContainer); blocksContainer.x = 10; blocksContainer.y = 130; var circle:Sprite = new Sprite(); circle.graphics.beginFill(0xFFCC00); circle.graphics.drawCircle(200, 200, 200); circle.scrollRect = new Rectangle(0, 0, 200, 200); this.addChild(circle); circle.addEventListener(MouseEvent.CLICK, clicked); var blockHeight:Number = 0; for (var i:uint = 0; i < parties.length(); i++) { var block:InfoBlock = new InfoBlock(parties[i]); block.y = blockHeight; blockHeight += block.height + 1; block.addEventListener(MouseEvent.CLICK, infoBlockClickHandler); blocksContainer.addChild(block); _blocksArray.push(block); } } public function clicked(event:MouseEvent):void { var rect:Rectangle = event.target.scrollRect; rect.y -= 5; event.target.scrollRect = rect; } помогите ) пожалуйста !!!