Convert Array to String
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:s="library://ns.adobe.com/flex/spark" > <mx:Script> protected var names:Array = ['A','B','C']; protected function btn_clickHandler(event:MouseEvent):void { trace(names.toString()); } </mx:Script> <mx:Button id="btn" label="Show Names" click="btn_clickHandler(event)"/> </mx:Application>