diff options
Diffstat (limited to 'tests/projects/plugins/project/src/flex/Circle.as')
-rw-r--r-- | tests/projects/plugins/project/src/flex/Circle.as | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/projects/plugins/project/src/flex/Circle.as b/tests/projects/plugins/project/src/flex/Circle.as new file mode 100644 index 00000000000..29ebe94393f --- /dev/null +++ b/tests/projects/plugins/project/src/flex/Circle.as @@ -0,0 +1,14 @@ +package { + + public class Circle { + public var diameter:int = 0; + + function Circle (d:int) { + if (d == 0) { + this.diameter = -1; + } else { + this.diameter = d; + } + } + } +} |