try this

 function addImageClicked(event:MouseEvent):void{
            label = new Label();
            label.text = "Child Added";

            var id = event.currentTarget.id;
            var s:string="GB_"+id;
            var target:VBox = grid.getChildByName(s) as VBox;

            Alert.show("Target Object :: "+target);

            target.addChild(label);
           }


-- 
-----------------------------
Warm Regards,
HISSAM,
Soft Engg,
iThinkLabs Pvt Ltd.
India.
website:http://www.ithink-labs.com
http://www.yureekah.com
------------------------------

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to