# Help referencing a visual MC from another class

**URL:** https://forum.kirupa.com/t/help-referencing-a-visual-mc-from-another-class/236237
**Category:** flash
**Created:** [August 18, 2007, 8:07pm UTC](https://forum.kirupa.com/t/help-referencing-a-visual-mc-from-another-class/236237 "2007-08-18T20:07:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lonerhino](https://avatars.discourse-cdn.com/v4/letter/l/45deac/32.png) [@lonerhino](https://forum.kirupa.com/u/lonerhino)
#### Post date: [August 18, 2007, 8:07pm UTC](https://forum.kirupa.com/t/help-referencing-a-visual-mc-from-another-class/236237/1 "2007-08-18T20:07:53Z")

</div>

I have a fla file with visual content onstage. This Fla also has a document class assigned called **Home** (extends Movieclip.) One of the visual assets onstage is a movieclip called mcHome that the **Home** class controls successfully.

I’ve got another class, **Photos** (extends Sprite) that I have imported(from another package) and it also successfully does what it’s suppose to. However, when I add code to **Photos** to refer to mcHome, the onstage movieclip, I get an

1120 access of undefined property mcHome error

What is necessary to make **Photos** understand what mcHome is?  
Thanks
