# Referencing the stage

**URL:** <https://forum.kirupa.com/t/referencing-the-stage/318880>\
**Category:** flash\
**Created:** [February 2, 2011, 5:14pm UTC](https://forum.kirupa.com/t/referencing-the-stage/318880 "2011-02-02T17:14:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rimacy](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Post date:** [February 2, 2011, 5:14pm UTC](https://forum.kirupa.com/t/referencing-the-stage/318880/1 "2011-02-02T17:14:13Z")

</div>

I’m trying to reference the stage from my view class(AsteroidSuppyView). The view is a child of the document class. I’m tryng diffferent ways to do this but i’m getting the error:

```auto
1152: A conflict exists with inherited definition flash.display:DisplayObject.stage in namespace public.

```

my view class is:

```auto
package
{
	import flash.display.MovieClip;
	import flash.events.Event;
	import flash.ui.Keyboard;
	//import flash.display.Stage;
	
	
	public class AsteroidSupplyView extends MovieClip
	{
		private var _model:Object;
		private var _controller:Object;
		private var ship = new Ship();
		private var keyPoll=new KeyPoll()
		private var stage = new Stage;
		
		
		public function AsteroidSupplyView(model:Object,controller:Object)
		{
			_model = model;
			_controller = controller;
			_model.addEventListener(Event.CHANGE, modelChangeEventHandeler)
			addChild(ship);
			//keyPoll = new KeyPoll( );
			keyPoll = new KeyPoll(stage);

		}
		etc.

```

how do i do this???
