i have this premade image scroller that works but when im trying to load it to my file it throws this:
**TypeError: Error #1009: Cannot access a property or method of a null object reference.
at onn_fla::MainTimeline/frame1()
**
i load it to my main file with this code
var fileRequest:URLRequest=new URLRequest(“onn.swf”);
var imageload:Loader = new Loader();
imageload.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoaderReady);
imageload.load(fileRequest);
function onLoaderReady(e:Event):void {
addChild(imageload);
}
Here is the image scroller location (at the bottom)
**http://www.flashperfection.com/tutorials/Vertical-Photo-Scrolling-animation-41427.html
**