# How to solve TypeError: Error #1009

**URL:** https://forum.kirupa.com/t/how-to-solve-typeerror-error-1009/267771
**Category:** flash
**Created:** [August 5, 2008, 3:46pm UTC](https://forum.kirupa.com/t/how-to-solve-typeerror-error-1009/267771 "2008-08-05T15:46:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![stewie32](https://avatars.discourse-cdn.com/v4/letter/s/eb8c5e/32.png) [@stewie32](https://forum.kirupa.com/u/stewie32)
#### Post date: [August 5, 2008, 3:46pm UTC](https://forum.kirupa.com/t/how-to-solve-typeerror-error-1009/267771/1 "2008-08-05T15:46:57Z")

</div>

I’m new to Flash CS3 and actionscript 3. I have created a preloader for a panorama that was built using actionscript 3. The panorama by itself works fine but once loaded by the preloader it throws this error

TypeError: Error #1009: Cannot access a property or method of a null object reference.  
at Panorama/setBounds()  
at Panorama/frame1()

any help would be greatly appreciated.
