Undefined addchild... Trying to make a (missile) upon shoot

[COLOR=#ff0000]**THIS THREAD IS SOLVED… Answer lies upon a website tutorial. Final Page on this Thread.

Thanks Again Everyone!.**[/COLOR]

Okay

So far so good, i’ve gotten most my as2 to as3… And coming out good
Buttons are working, The only last part im working on is upon shooting,
it’ll bring in the calls to Fire the missle… (tracein the button works great).



public static function Shoot()
        {
            trace("shoot");

            var Missile = new Missile();
            Missile.x = 100;
            Missile.y = 100;
            addChild(Missile);


        }


This is what im trying… But it says undefined use for addchild… so im taking im missing somthing…

(the missile is a animation graphic i created).
I have made a Missile.as to control what the missle does when its addchild is placed on stage. Problem is, (addchild isnt doing it) and im not sure if its going to shoot out the nose of the hero…

Any takers.
and thanks in advance