#1009. null object reference
Why does this code not work? It seems to make the error:#1009: Cannot access a property or method of a null object reference. my buttons on the same frame have all stopped working, please help!
import flash.display.MovieClip;import fl.containers.ScrollPane;scrollpane.content as MovieClip;MovieClip(scrollpane.content).gotoAndSto p("frameName");
#1009. null object reference
Why does this code not work? It seems to make the error:#1009: Cannot access a property or method of a null object reference. my buttons on the same frame have all stopped working, please help!
Code:
import flash.display.MovieClip;
import fl.containers.ScrollPane;
scrollpane.content as MovieClip;
MovieClip(scrollpane.content).gotoAndSto p("frameName");