[flexcoders] Re: displaying an array result as a pop up dialog
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?
[flexcoders] Re: rotation of vertical axis title
Hi, I also met the same requirment. unfortunately, the answer is no. And I use the another way to instead: 1 set show vertical axis title to false 2 create a HBox containing both a TextField and the chart 3 set the position of the drawing TextField to vertical 4 refine the position. Anyone who get the right solution , plz do let me know, appreicate. cheers Troy --- In flexcoders@yahoogroups.com, Pan Troglodytes [EMAIL PROTECTED] wrote: I think the answer is no, but I'll ask it anyway - is there a way to rotate the vertical axis title so it reads from top to bottom, instead of the current bottom to top? Second, if there is no way, who chose the opposite of the normal way to be the default? ;) -- Jason
[flexcoders] Re: creating line chart using action script
You may new a linechart firstly. var lineChart:LineChart = new LineChart(); set the properties here; this.addChild(lineChart); --- In flexcoders@yahoogroups.com, arpan srivastava [EMAIL PROTECTED] wrote: Hi , I need to draw a linechart using only actionscript. I have done following: private var cat:CategoryAxis; private var lineS:LineSeries; this.dataProvider = _myDataProvider; cat = new CategoryAxis(); cat.categoryField = interval; cat.dataProvider = chartDataProvider; this.horizontalAxis = cat; lineS = new LineSeries(); lineS.yField = data; lineS.dataProvider = _myDataProvider; this.series = new Array(lineS); this.height=400; this.width=400; this.showDataTips=true; Now where should I write this code. I have written it in initllize () function, but it is not working. My class is extending LineChart
[flexcoders] Re: Firing an event when clicking on a DataGridColumn
Hi, the dropdown of dataGrid is ListBase, so you can easily add itemclick event just as below: private function onInit():void{ var myDataGrid:DataGrid = new DataGrid; myDataGrid.addEventListener(mx.events.ListEvent.ITEM_CLICK, onItemClick); } private function onItemClick(event:ListEvent):void{ // your clicked code here } --- In flexcoders@yahoogroups.com, stephen50232 [EMAIL PROTECTED] wrote: Hi, Is it possible to fire an event every time a user clicks on a new row in a DataGrid. So that I can populate a form with a new record everytime the row in the DataGrid is selected.