trunk contents moved to root

This commit is contained in:
Jindra Petřík
2014-05-10 20:50:57 +02:00
parent 1b851e66a8
commit 199a4d0c2b
2296 changed files with 0 additions and 0 deletions

17
testdata/as2/Box.as vendored Normal file
View File

@@ -0,0 +1,17 @@
class Box extends MovieClip{
// declare class members
var box_mc:MovieClip;
// Constructor that takes mc as argument
public function Box(passed_mc:MovieClip){
// assign passed mc to our class member
box_mc = passed_mc;
}
// Methods
public function moveUp(){
box_mc._y -= 1;
}
public function moveDown(){
box_mc._y += 20;
}
}