为什么这产生一个错误在Flash Builder?:覆盖Object.toString错误
package {
public class Foo {
override public function toString():String {
return "Foo";
}
}
}
制表符完成表明,这是可以超越...
错误消息:
Multiple markers at this line:
-public
-1020: Method marked override must override another method.
-overridesObject.toString
你是对的,动态属性是迟到的。 '您添加到动态类实例的属性是运行时实体...'([Livedocs - Dynamic Classes](http://livedocs.adobe.com/flex/3/html/help.html?content = 03_Language_and_Syntax_10.html)) –