topical media & game development
animation-ch02-App.ax
animation-ch02-App.ax
(swf
)
[ flash
]
package
{
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
public class animation-ch02-App extends Sprite
{
public function animation-ch02-App()
{
init();
}
private function init():void
{
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align=StageAlign.TOP_LEFT;
var base:MyBaseClass = new animation_ch02_MyBaseClass();
base.sayHello();
var sub:animation_ch02_MySubClass = new animation_ch02_MySubClass();
sub.sayHello();
sub.sayGoodbye();
}
}
}
(C) A. Eliëns
2/9/2007
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.