Index: sources/object.as |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/sources/object.as |
@@ -0,0 +1,25 @@ |
+// object.as |
+// Source for generating test SWF object for the object testcase page. |
+ |
+// Compile with SWFTools as3compile: |
+// as3compile -X 250 -Y 250 object.as |
+ |
+package |
+{ |
+ import flash.display.MovieClip |
+ |
+ public class Main extends MovieClip |
+ { |
+ function Main() |
+ { |
+ this.graphics.beginFill(0xcc0000) |
+ this.graphics.drawRect(0,0, 250,250); |
+ this.graphics.endFill() |
+ this.graphics.beginFill(0xffffff) |
+ this.graphics.drawCircle(80,80,50) |
+ this.graphics.drawCircle(160,160,30) |
+ this.graphics.drawCircle(210,210,10) |
+ this.graphics.endFill() |
+ } |
kzar
2018/04/19 13:08:22
Nit: Please could you remove the trailing whitespa
|
+ } |
+} |