# Cannot detect the MCs on the timeline

**URL:** <https://forum.kirupa.com/t/cannot-detect-the-mcs-on-the-timeline/244438>\
**Category:** Uncategorized\
**Created:** [November 18, 2007, 1:11am UTC](https://forum.kirupa.com/t/cannot-detect-the-mcs-on-the-timeline/244438 "2007-11-18T01:11:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![g\_wulfwud](https://avatars.discourse-cdn.com/v4/letter/g/f0a364/32.png) [@g\_wulfwud](https://forum.kirupa.com/u/g_wulfwud)\
**Post date:** [November 18, 2007, 1:11am UTC](https://forum.kirupa.com/t/cannot-detect-the-mcs-on-the-timeline/244438/1 "2007-11-18T01:11:42Z")

</div>

Hey guys,  
need some help here…im trying to insert some actions on some buttons (they’re movieclips btw)…before, it was working but then when i added some codes to load an xml file it gives me a 1120 error (Access of undefined property ).

Here’s the function.

```auto
			public function initButtons():void
		{
			playSound.addEventListener(MouseEvent.MOUSE_OVER,chPlayImage);
			pauseSound.addEventListener(MouseEvent.MOUSE_OVER,chPauseImage);
			stopSound.addEventListener(MouseEvent.MOUSE_OVER,chStopImage);
			forwardSound.addEventListener(MouseEvent.MOUSE_OVER,chForwardImage);
			
			playSound.addEventListener(MouseEvent.MOUSE_UP,playSong);
			pauseSound.addEventListener(MouseEvent.MOUSE_UP,pauseSong);
			stopSound.addEventListener(MouseEvent.MOUSE_UP,stopSong);
			forwardSound.addEventListener(MouseEvent.MOUSE_UP,forwardSound);
		}

```
