Hello everyone,
I have got a heirarchy of objects which goes like this -> stage.control_mc.gaincontrol_mc.knob_mc
i am trying to register an event listener for stage from within knob_mc using
stage.addEventListener(“mouseUp”,this.mup2);
and i have defined the function mup2 within the knob_mc class - but when i run the movie and dynamically add the knob_mc to the stage i get this error
TypeError: Error #1009: Cannot access a property or method of a null object reference.
i dont know why stage is a null object. when i trace stage from within knob_mc i get null…
thanks in advance…