package src { //reflects the folder structure import flash.display.MovieClip; public class bullet extends MovieClip { /* Properties of the bullet */ public var velocity:Object; //constructor public function bullet( ):void { //standard velocity velocity = new Object; velocity.y = 0; velocity.x = 0; } } }