package {
import flash.display.MovieClip;
public class Lab3 extends MovieClip {
public function Lab3() {
// constructor code
trace("inside Lab3 constructer")
// create a variable to hold the symbol to display
var s: MovieClip;
s = new DogBone();
addChild(s);
s.x=230;
s.y=180;
s.rotationX=0;
s.rotationY=0;
s.rotationZ=-15;
// Add Symbol to stage
s = new DeadyBear();
addChild(s);
s.x=380;
s.y=240;
s.scaleX=.8;
s.scaleY=.8;
// 1 RainDrop
var s: MovieClip;
s = new RainDrop();
addChild(s);
s.x=90;
s.y=50;
s.scaleX=.1;
s.scaleY=.1;
// 3 RainDrop
var s: MovieClip;
s = new RainDrop();
addChild(s);
s.x=75;
s.y=90;
s.scaleX=.04;
s.scaleY=.04;
// 2 RainDrop
var s: MovieClip;
s = new RainDrop();
addChild(s);
s.x=60;
s.y=41;
s.scaleX=.06;
s.scaleY=.06;
// 4 RainDrop
var s: MovieClip;
s = new RainDrop();
addChild(s);
s.x=80;
s.y=45;
s.scaleX=.02;
s.scaleY=.02;
// Lives in right corner
var s: MovieClip;
s = new PalmLeaf();
addChild(s);
s.x=500;
s.y=10;
s.scaleX=.1;
s.scaleY=.1;
var s: MovieClip;
s = new PalmLeaf();
addChild(s);
s.x=480;
s.y=10;
s.scaleX=.1;
s.scaleY=.1;
var s: MovieClip;
s = new PalmLeaf();
addChild(s);
s.x=460;
s.y=10;
s.scaleX=.1;
s.scaleY=.1;
var s: MovieClip;
s = new PalmLeaf();
addChild(s);
s.x=440;
s.y=10;
s.scaleX=.1;
s.scaleY=.1;
// Chameleon on bone
var s: MovieClip;
s = new Chameleon();
addChild(s);
s.x=250;
s.y=240;
s.scaleX= .3;
s.scaleY= .3;
s.rotationZ=-10;
var s: MovieClip;
s = new GolfTee();
addChild(s);
s.x=50;
s.y=200;
var s: MovieClip;
s = new Pipe();
addChild(s);
s.x=110;
s.y=230;
s.scaleX= .8;
s.scaleY= .8;
// Power up Cards
var s: MovieClip;
s = new QueenOfHearts();
addChild(s);
s.x=400;
s.y=10;
s.scaleX=.1;
s.scaleY=.1;
var s: MovieClip;
s = new QueenOfHearts();
addChild(s);
s.x=370;
s.y=10;
s.scaleX=.1;
s.scaleY=.1;
Wednesday, April 20, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment