ActionScript 3.0 and MXML flow charts
Visustin generates flow charts from ActionScript 3.0 code. MXML files are also supported.
- ActionScript support covers Adobe ActionScript 3.0.
- Old ActionScript versions 1.0 and 2.0 are not supported due to differences in language syntax.
- MXML support is limited to the ActionScript blocks contained in MXML files. Support covers Flex 2, 3 and 4. Support is current as of Apache Flex, formerly Adobe Flex, 4.6.
Visustin automatically detects whether the code is ActionScript or MXML. Detection is based on file contents, not file extension (*.as, *.mxml).
Supported ActionScript statements
Supported MXML tags
The <fx:Script> and <mx:Script> tags are supported.
The following syntax is unsupported or only limited support is provided. The chart may display a normal statement, not a branch or a jump.
- Semicolon-less ActionScript is supported to an extent. If two statements are incorrectly processed as one, add a semicolon between them. If one multiline statement is incorrectly split into two, join the lines.
- Visustin works at the statement level. The internal structure of complex expressions is not visualized. The conditional expression :? is not split, nor is any short-circuited logic such as && or ||.
- namespace definitions are not supported. If a class or function name is preceded by a namespace name other than public, private, protected or internal, it is not detected.
- Two slashes /.../ on the same line may rarely be mistaken for a regex. If a statement break falls between the slashes, Visustin may not notice the two statements correctly. If this happens, add a newline between the slashes.
- XML literals are not supported. This affects XML tags embedded inside ActionScript code. The flow chart may appear incorrect near an XML literal.
©Aivosto Oy – Visustin Help