# SwfObject Error

**URL:** <https://forum.kirupa.com/t/swfobject-error/282438>\
**Category:** flash\
**Created:** [February 22, 2009, 3:02am UTC](https://forum.kirupa.com/t/swfobject-error/282438 "2009-02-22T03:02:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BenBart](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Post date:** [February 22, 2009, 3:02am UTC](https://forum.kirupa.com/t/swfobject-error/282438/1 "2009-02-22T03:02:04Z")

</div>

I get this error when I publish my SWF using SwfObject

```auto
TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at util::SWFAddress$/getPath()
    at util::SWFAddressEvent()
    at util::SWFAddress$/_dispatchEvent()
    at util::SWFAddress$/setValue()
    at index_v1_fla::MainTimeline/frame1()

```

It doesn’t effect how anything is working. Everything seems to be working fine. But I hate having an error message.

The only real line of code here is this:

```auto
SWFAddress.addEventListener(SWFAddressEvent.CHANGE, navigateToSection)

```
