Changeset 3273 for lang/legacy-actionscript
- Timestamp:
- 12/18/07 17:14:42 (12 months ago)
- Location:
- lang/legacy-actionscript/as2draw
- Files:
-
- 1 added
- 5 modified
-
AS2Draw.as (modified) (1 diff)
-
AS2Draw.swf (modified) (previous)
-
Drawable.as (modified) (1 diff)
-
ToolPalette.as (added)
-
build.bat (modified) (1 diff)
-
index.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/legacy-actionscript/as2draw/AS2Draw.as
r3255 r3273 2 2 { 3 3 private var mDrawable:Drawable; 4 private var mToolPalette:ToolPalette; 4 5 5 6 public function AS2Draw(aRoot:MovieClip) 6 7 { 7 mDrawable = new Drawable(aRoot, 0xff8080, 480, 200); 8 mToolPalette = new ToolPalette(aRoot, 480, 24, 0x888888); 9 10 mDrawable = new Drawable (aRoot, 0xeeffdd, 480, 200); 11 mDrawable.setY(24); 8 12 } 9 13 -
lang/legacy-actionscript/as2draw/Drawable.as
r3255 r3273 16 16 } 17 17 18 public function setY(y:Number) 19 { 20 mMC._y = y; 21 } 22 18 23 public function clear() 19 24 { -
lang/legacy-actionscript/as2draw/build.bat
r3255 r3273 1 mtasc -version 7 -swf AS2Draw.swf -main AS2Draw.as -header 480:2 00:301 mtasc -version 7 -swf AS2Draw.swf -main AS2Draw.as -header 480:224:30 -
lang/legacy-actionscript/as2draw/index.html
r3255 r3273 7 7 <meta http-equiv="Content-Script-Type" content="text/javascript; charset=utf-8" /> 8 8 <title>AS2Draw</title> 9 10 <style type="text/css"> 11 .canvas-container { 12 background: #888; 13 margin: 0; 14 padding: 1px; 15 float: left; 16 line-height: 0; 17 } 18 </style> 9 19 </head> 10 20 <body> 11 <div >12 <object data="./AS2Draw.swf" type="application/x-shockwave-flash" width="480" height="2 00">21 <div class="canvas-container"> 22 <object data="./AS2Draw.swf" type="application/x-shockwave-flash" width="480" height="224"> 13 23 <param name="movie" value="./AS2Draw.swf" /> 14 24 <param name="autostart" value="true" />
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)