!me.read MovieClip.as as Human

There is one thing I can’t understand about frameScipt in MovieClip.

public class Player extends MovieClip;

Player can call gotoAndPlay() , because it’s a method of the super class.

Why is it though, that frame script from the MovieClip can call methods of the Player class?

If the MovieClip, and thus its timeline code is “above” (or is it considered below?) the Player class, shouldn’t it generate an error on compile?

I can’t read MovieClip.as because I simply don’t understand it.

Clearly i’m thinking of something the wrong way here, what i really mean to ask is how can i discover how the MovieClip class is formed.