# Accessing the Stage

**URL:** <https://forum.kirupa.com/t/accessing-the-stage/246390>\
**Category:** flash\
**Created:** [December 10, 2007, 8:15pm UTC](https://forum.kirupa.com/t/accessing-the-stage/246390 "2007-12-10T20:15:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbailey](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jbailey/32/2380_2.png) [@jbailey](https://forum.kirupa.com/u/jbailey)\
**Post date:** [December 10, 2007, 8:15pm UTC](https://forum.kirupa.com/t/accessing-the-stage/246390/1 "2007-12-10T20:15:55Z")

</div>

I don’t understand how objects on the stage (created in the Flash IDE) can be accessed.

In AS2, it was simple, just use \_root or this.stage. In AS3, this appears not to be the case.

Here is an example class

```auto

package johnbailey{
    import flash.display.MovieClip;
    import flash.display.Stage;
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
   
    public class myStageClass{
       
        private var _stage:MovieClip = null;

        public function myStageClass(thestage:MovieClip){
            this._stage = thestage;
            var myTween:Tween = new Tween(this._stage.box_MC, "x", Elastic.easeOut, 0, 50, 3, true)
        }
    }
}

```

NOTE: box\_MC is on the fla’s stage

\*\*  
ANSWER\*\* \*sort of

See above  
\*Then just put this in the fla with an mc instance of box\_MC

import johnbailey.myStageClass;  
var startIt = new myStageClass(this);
