As I understand it, implicit casting to a string works as expected (See http://livedocs.adobe.com/flex/3/html/help.html?content=03_Language_and_Syntax_12.html) so the explicit toString() is not actually required. I believe it is a good idea to have it as it avoids confusion.
--- In [email protected], Nick Middleweek <n...@...> wrote: > > Hi, > > Try sticking inside your init function... > > > private function init():void > { > var str:String = "Area = "; > var area:Number = Math.PI * Math.pow(3, 2); > str = str + area.toString(); > Alert.show(str); > } > > And you probably need a toString() method after the area because it's a > Number and needs converting if you want to concat it to a String. > > > Nick >

