Declaring your class level variables where you have there is correct. But, unless you actually need nav to be non-null from the beginning, you can just declare it and not instantiate it. When you set it in the doneNav function, you throw away whatever was there to begin with. If you never used that, then you didn't need it.

Code:
private var nav:Sprite;