I am new to working with Flash Builder and Flash Professional. I have a movie clip called myplayer that I created in Flash Professional, and I am trying to code some ActionScript for it in Flash Builder that will change its position on the stage, but I keep getting the following error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at level_1()
Here's the code:
package
{
import flash.display.MovieClip;
public class level_1 extends MovieClip
{
public function level_1()
{
myplayer.x=650;
myplayer.y=350;
}
}
}
I know I am missing something, but I'm not sure what. Any advice?


myplayer? - Martylevel_1symbol probably needs linkage - there are two symbols in play:level_1which referencesmyplayer. - Jason Sturges