In the language reference http://livedocs.adobe.com/flex/2/langref/mx/containers/Panel.html
it says |public function set title(value:String <http://livedocs.adobe.com/flex/2/langref/String.html>):void <http://livedocs.adobe.com/flex/2/langref/specialTypes.html#void>| so I tried myPanel set title("This is the new title" ); I didn't really expect it to work I got this error Error: Syntax error: expecting rightbrace before set. How do I do this ?

