Hi, your can try popupManager sample code lists below: ---------------------------------------- import mx.managers.PopUpManager;
> public function onSendResult(result:Array):void{ > var str:String = result.toString(); > string_res.htmlText= str; PopUpManager.addPopUp(str,this,false); PopUpManager.bringToFront(str); > } ---------------------------------------- or you can just simply put "Alert.show(str)" cheers Troy --- In flexcoders@yahoogroups.com, "munene_uk" <[EMAIL PROTECTED]> wrote: > > I have built a simple mail application that allows the user to send a > message to multiple users. once the message is successfully sent it > returns a message i.e "the message has been sent to the following > recipients [EMAIL PROTECTED], [EMAIL PROTECTED] e.t.c" > > > the issue is that this data is returned as an array on this function > in which i am using a textbox to display the results, however i would > like to use an alert box to display the results instead. > > public function onSendResult(result:Array):void{ > > var str:String = result.toString(); > > string_res.htmlText= str; > > } > > > how would i go about doing this? >