public var sprSword:Spritemap = new Spritemap(Assets.SWORD, 64, 96)
public var sprLight:Spritemap = new Spritemap(Assets.SWORD, 64, 96)
public var counter:int;
public var start:Point;
public function Sword(x:int, y:int)
{
sprLight.alpha = .5
sprLight.add("Light", [ 0, 1, 2, 3], 10, true);
sprSword.add("Sword", [ 4, 5, 6, 7], 10, true);
sprSword.add("force", [8, 9, 10, 11], 5, true);
sprSword.add("idle", [12, 13, 14, 15], 5, true);
sprSword.add("pull", [16, 17, 18, 19], 5, true);
sprSword.add("pose", [20, 21, 22, 23], 5, true);
sprSword.add("poseIdle", [24, 25, 26, 27], 5, true);
var display:Graphiclist = new Graphiclist(sprSword,sprLight);
addGraphic(display)
sprLight.play("Light");
addGraphic(display)
sprSword.play("Sword");