• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Code Fix!

class Fall extends MovieClip {

    // constructor
    function Fall(mc:MovieClip){
    }

    function moveUp(){
          _y -= 1;
    }

    function moveDown(){
          _y += 20;
    }
}

Be sure to call this Fall.as.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint