Can Someone Translate this from AS2 to AS3

After reading tutorial after tutorial, And still trying convert my old Game thats As2.0,
I have achieved some things , Past some things, Fixed somethings, Added new things.

But now, Im at the point of Added somethings that were so much easier in AS2.0,
but just needing guide lines to convert this stuff.

For quick information (This is switching over to Android Market, sdk , as3.0).
So some of the information will be VOID… (I.E: Controls are different, But point being is not).

Heres the new script ima be working on

AS2.0 code



//Shooting Command
    if( Key.isDown(Key.SPACE) && shootlimiter > 6 )
    {
    shootlimiter = 0;
    var missile = _root.attachMovie( "Missile" , "Missile" + _root.getNextHighestDepth(), _root.getNextHighestDepth() );
    missile._x = _x + 110;
    missile._y = _y + 10;

}

[COLOR=#ff0000]Again please Reframe from Helping with (the Key commands) Just interested in (how to do tha AttachMovie).

[/COLOR][COLOR=#000000]Its not difficult for me to make quick understanding. I do understand the fact, i have a missle.as (not an issue).

The point is, I got a button, That ill be pressing from button.as (thats going to go something like this).
[/COLOR]


package com.controls {
    
    import flash.display.MovieClip;
    import flash.events.MouseEvent;
    import com.Hero
    
    public class buttons extends MovieClip {
        
        private var hero:Hero;
        
        
        
        
        public function buttons() {
            // constructor code
        btn1.addEventListener(MouseEvent.CLICK,Shoot);
        
        function Shoot(event:MouseEvent):void{
        hero.shoot;
       }
    
    }  
    
  }

}
[COLOR=#000000]
[/COLOR]

[COLOR=#000000]
[/COLOR][COLOR=#ff0000]
As for the Shoot command (wrong or not). Well call the (attach movie clip from the hero.as).

[/COLOR][COLOR=#000000]If you got better idea for this, Please correct me. [/COLOR][COLOR=#ff0000]

Thanks.
[/COLOR]