# Error #1009: Cannot access a property or method of a null object reference

**URL:** <https://forum.kirupa.com/t/error-1009-cannot-access-a-property-or-method-of-a-null-object-reference/321583>\
**Category:** Uncategorized\
**Created:** [April 24, 2011, 7:50pm UTC](https://forum.kirupa.com/t/error-1009-cannot-access-a-property-or-method-of-a-null-object-reference/321583 "2011-04-24T19:50:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alyssahhhh](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@alyssahhhh](https://forum.kirupa.com/u/alyssahhhh)\
**Post date:** [April 24, 2011, 7:50pm UTC](https://forum.kirupa.com/t/error-1009-cannot-access-a-property-or-method-of-a-null-object-reference/321583/1 "2011-04-24T19:50:34Z")

</div>

I’m working on a project that requires that I put two sets of movieclips and their functions in two separate frames. The second set of movieclips exists in both frames, yet, when I try to set the visibility of the second set in the first frame, I get this message: Error #1009: Cannot access a property or method of a null object reference.

What am I doing wrong?
