Prev Next

ActionScript Conventions

Enterprise Architect supports round trip engineering of ActionScript 2 and 3, where these conventions are used.

Stereotypes

Stereotype

Applies To

See also

literal

Operation

Corresponds To: A literal method referred to by a variable.

property get

Operation

Corresponds To: A 'read' property.

property set

Operation

Corresponds To: A 'write' property.

Tagged Values

Tag

Applies To

See also

attribute_name

Operation with stereotype property get or property set

Corresponds To: The name of the variable behind this property.

dynamic

Class or Interface

Corresponds To: The 'dynamic' keyword.

final

ActionScript 3: Operation

Corresponds To: The 'final' keyword.

intrinsic

ActionScript 2: Class

Corresponds To: The 'intrinsic' keyword.

namespace

ActionScript 3: Class, Interface, Attribute, Operation

Corresponds To: The namespace of the current element.

override

ActionScript 3: Operation

Corresponds To: The 'override' keyword.

prototype

ActionScript 3: Attribute

Corresponds To: The 'prototype' keyword.

rest

ActionScript 3: Parameter

Corresponds To: The rest parameter (...)

Common Conventions

  • Package qualifiers (ActionScript 2) and Packages (ActionScript 3) are generated when the current Package is not a namespace root
  • An unspecified type is modeled as 'var' or an empty 'Type' field

ActionScript 3 Conventions

  • The Is Leaf property of a Class corresponds to the sealed keyword
  • If a namespace tag is specified it overrides the Scope that is specified

Learn more