|
At least the super thing seems to be illegal:
http://livedocs.adobe.com/flex/3/langref/statements.html#super "You cannot use the super statement in a static method." The super statement is not used in a static method, it is assigning a String to a static var, which is not the same at all:
private static var _name:String = getQualifiedClassName(super); is the same as: private static var _name:String; Legal and working, compiler is happy and it behaves as it should. I have similar issues with FDT 4 Milestone 1 and Flex SDK 3.5
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
1. create a new FDT AS3 project
2. select the Flex SDK 3.5 and leave the rest by default
3. Create a Main Document Class and paste the following:
package {
import flash.display.Sprite;
import flash.utils.describeType;
import flash.utils.getQualifiedClassName;
public class Main extends Sprite {
private static var _name:String = getQualifiedClassName(super);
public function Main() { var list:XMLList = describeType(this)..*.(name() == "accessor"); trace(_name); trace(list.toXMLString()); }
}
}
FDT 3.2 => does not show any parsing errors
FDT 3.5 => show 2 parsing errors (describe in the first post)
Here is a screen:
http://www.soundstep.com/temp/fdt/main.png