摘要:
package com.funct{ import flash.display.Sprite; import flash.events.Event; import flash.utils.getTimer; public class TimeBased extends Sprite { private var ball:Ball; private var vx:Number; private var vy:Number; private var bounce:Number=-0.7; priva... 阅读全文
摘要:
package com.funct{ import flash.display.Sprite; public class Random5 extends Sprite { public function Random5() { super(); init(); } private function init():void { for (var i:int=0; i < 300; i++) { ... 阅读全文
摘要:
package com.funct{ import flash.display.Sprite; public class Random5 extends Sprite { public function Random5() { super(); init(); } private function init():void { for (var i:int=0; i < 300; i++) { ... 阅读全文
摘要:
package com.funct{ import flash.display.Sprite; /** *随机布局 * @author Administrator * */ public class Random2 extends Sprite { public function Random2() { super(); init() } private function init():void { ... 阅读全文
摘要:
package com.funct{ import flash.display.Sprite; import flash.events.Event; /** * 布朗运动 * @author Administrator * */ public class Brownian1 extends Sprite { private var balls:Array=[]; private var fir:Number=.95; private var num:Number=50; ... 阅读全文
摘要:
package{ import flash.display.Bitmap; import flash.display.BitmapData; import flash.display.Sprite; import flash.filters.DropShadowFilter; public class FilterExample extends Sprite { public function FilterExample() { var bi... 阅读全文
摘要:
package com.ddd{ import flash.display.Sprite; import flash.display.StageScaleMode; import flash.events.Event; /** * 3d多物体点旋转 * @author Administrator * */ public class RotateY extends Sprite { private var balls:Array=[]; private var num:int=10; p... 阅读全文
摘要:
package com.ddd{ import flash.display.Sprite; import flash.events.Event; import flash.events.MouseEvent; public class Easing3D extends Sprite { private var ball:Ball; private var tx:Number=0; private var ty:Number=0; private var tz:Number=0; private ... 阅读全文
摘要:
package com.ddd{ import flash.display.Sprite; public class Tree extends Sprite { public var xpos:Number=0; public var ypos:Number=0; public var zpos:Number=0; public function Tree() { init(); } public function init():void { ... 阅读全文
摘要:
package com.ddd{ import flash.display.Sprite; import flash.display.StageScaleMode; import flash.events.Event; public class Fireworks extends Sprite { private var balls:Array=[]; private var num:int=50; private var fl:Number=250; private var vpX:Number=stage... 阅读全文