That looks ok.
Debug this. First set the title to a hard coded string. Does that work? Next get the string in "portafolio.client" in a local var and trace it. Do you see it? Replace the hard coded string with the variable. Here is an example that sets the title in a popup: http://www.cflex.net/showFileDetails.cfm?ObjectID=558 Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Duenas Sent: Tuesday, September 18, 2007 3:04 PM To: [email protected] Subject: [flexcoders] dynamic title of a panel Hi coders I have an app I've been doing and something is out of my league now, well I have a mx:model its id is portafolio and it load an external xml file. well one of its part is <client> name of the client</client> and I'm using the pop up manager in order to create a pop up panel the code is. <mx:Script> <![CDATA[ import mx.managers.PopUpManager; private var panel:Panel = new Panel(); private function openWindow(event:MouseEvent):void{ PopUpManager.addPopUp(panel, this); panel.title=portafolio.client;// this is the part of the problem I don't know how to bind the information of the xml <client> in the panel title// panel.width= 500; panel.height=300; } ]]> </mx:Script> The panel opens when the tile is clicked and everything is ok, but I need the name of the <client> in the title of each panel any ideas? Regards Gustavo Duenas

