# Error 1120: Access of undefined pro: MovieclipAccess of undefined property: Movieclip

**URL:** https://forum.kirupa.com/t/error-1120-access-of-undefined-pro-movieclipaccess-of-undefined-property-movieclip/314939
**Category:** flash
**Created:** [October 12, 2010, 9:17pm UTC](https://forum.kirupa.com/t/error-1120-access-of-undefined-pro-movieclipaccess-of-undefined-property-movieclip/314939 "2010-10-12T21:17:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cermunnos](https://avatars.discourse-cdn.com/v4/letter/c/ebca7d/32.png) [@cermunnos](https://forum.kirupa.com/u/cermunnos)
#### Post date: [October 12, 2010, 9:17pm UTC](https://forum.kirupa.com/t/error-1120-access-of-undefined-pro-movieclipaccess-of-undefined-property-movieclip/314939/1 "2010-10-12T21:17:45Z")

</div>

Hi, im having problems getting some as3 generated (not drawn on stage) movie clips moving across the screen.

Can you guys have a critique below at this code. thanks.

```auto

package {
	
import flash.geom.ColorTransform;
import flash.display.MovieClip;
import fl.motion.Color;
import flash.display.*;

import flash.events.Event;

public dynamic class Main extends MovieClip

{

 public function Main() {

		var myMC:MovieClip = new MovieClip();
		addChild(myMC);
		var _stage:Stage=myMC.stage;
		var starBackground:Stars = new Stars(_stage); // add a bitmap background

    	//Add a ball of type movieclip
    		var mass1:Ball = new Ball(100,12,colorYellow,100,250,4,2,_stage,myMC); 
		mass1.name = "m1";
		_stage.addChild(mass1);

		addEventListener(Event.ENTER_FRAME, moveobj);
	
	
  }

public function moveobj(event:Event) {
**mass1.x+=1;** //this is where the error code comes from..
}}}

```
