So I'm having a very frustrating problem in CS5, where I am simply unable to get as3 to recognize movie clips! If the symbol I'm trying to reference is a button everything works fine, but the second I turn it into a movie clip it spits the following error out at me:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at PheV3_fla::MainTimeline/frame184()
Even though the object is clearly there because as soon as I turn it back into a button instead of movie clip it works fine. Anyone have any ideas? Here's an example of the code I'm working with, just a simple web page link:
Testing.addEventListener(MouseEvent.CLICK,goThere);
function goThere(e:MouseEvent){
var request:URLRequest = new URLRequest("http://www.adobe.com/");
navigateToURL(request);
}