Thanks ... Actually,i need the datagrid only once the whole pop-up containing checkboxes is closed.Function for attaching checkboxes in the scroll pane is as follows:But this event for checkbox click is not working. function vek() { this.attachMovie ("ScrollPane", "scrollpane1", 520); scrollpane1.vScrollPolicy = "on"; scrollpane1.setSize(500, 200); scrollpane1.vPosition = 50; scrollpane1.hPosition = 20; scrollpane1.move(20, 20); scrollpane1.contentPath = "empty_mc"; var y:Number; y = 10; var depth:Number; depth = 530; for (var i = 0; i<datagrid.columnCount; i++) { var clip = scrollpane1.content.attachMovie("CheckBox", "cb1", depth); depth++; clip._x = 10; clip._y = y; y = y+20;
clip.addEventListener("click", Delegate.create(this, chk_func)); } } The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or [EMAIL PROTECTED] _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com