Problem with parent

Ok, I cannot figure this out. I have a custom Class that extends Movieclip called Nav, and a container clip on stage. I’ve referenced the Nav Class and called it as such:

import com.Nav;

public var navigation:Nav;

navigation = new Nav();
container.addChild(navigation);

This works fine. But when I try to access it with container.navigation ANYTHING it doesn’t recognize it. I CAN access it as simply “navigation.” But this shouldn’t be the case.

I cannot figure this out for the life of me and it’s driving me crazy. It should be the other way around, and navigation should not be accessible WITHOUT container.