0

How can i get sprite thats updates the image with this interface?

public class DinImageSprite extends Sprite
{
    public function DinImageSprite() { 
        super(); 
    }

    public setImage(a:Class) {

    }
}

Tanks

caeycae
  • 1,137
  • 3
  • 12
  • 28

1 Answers1

0

Edit your question and elaborate more on what you are passing into the set image function. Or you can be more vague so we can keep on guessing.

public setImage(a:Image) {
  this.addChild( a );
}
The_asMan
  • 6,364
  • 4
  • 23
  • 34
  • Please edit your question and explain exactly what you want. You mentioned nothing about several times. I don't read minds. – The_asMan May 11 '11 at 16:34