I’m very new to AS3 and object oriented script. My issue involves instantiating movieClips and referencing the correctly to avoid:
Error #1009: Cannot access a property or method of a null object reference.
I’ve spent hours researching this and know I am referencing an object that is not there but I don’t understand how to instantiate the movieClip (I think I need to generate a class for the main movieClip?) I am such a noob and really apologize for the lame question. Thanks so much for any tips; my file is here
The file works but I know I’m doing it wrong and really would love to know the right way!
Here’s the full error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at problem_file_fla::avalanch_holder_6/frame200()[problem_file_fla.avalanch_holder_6::frame200:4]
at flash.display::MovieClip/gotoAndStop()
at problem_file_fla::avalanch_holder_6/frame200()[problem_file_fla.avalanch_holder_6::frame200:4]