# Moving the stage

**URL:** <https://forum.kirupa.com/t/moving-the-stage/22922>\
**Category:** flash\
**Created:** [June 10, 2003, 6:03pm UTC](https://forum.kirupa.com/t/moving-the-stage/22922 "2003-06-10T18:03:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ifonly](https://avatars.discourse-cdn.com/v4/letter/i/ecd19e/32.png) [@Ifonly](https://forum.kirupa.com/u/Ifonly)\
**Post date:** [June 10, 2003, 6:03pm UTC](https://forum.kirupa.com/t/moving-the-stage/22922/1 "2003-06-10T18:03:09Z")

</div>

I was wondering if it is possible to move the stage, rather than moving the animation. because moving the entire animation can be a little tedious…  
stupid me, i created and animated menu, but i created it in the middle of an 800x600 stage… but now i need it in the top left hand corner so i can resize the stage perfectly around it for when i put it onto a page. or if the stage cannot be moved, is there a way to select everything in every frame to move it? thanks in advance

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 10, 2003, 8:16pm UTC](https://forum.kirupa.com/t/moving-the-stage/22922/2 "2003-06-10T20:16:53Z")

</div>

You can’t move the stage, but you can check this out on an easier way to move your objects…

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=14352](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=14352)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 10, 2003, 8:34pm UTC](https://forum.kirupa.com/t/moving-the-stage/22922/3 "2003-06-10T20:34:34Z")

</div>

You just got me thinking: if everything on the main stage was in an mc(this is hypothetical, so forgive me for any mistakes):

[AS]var myArray = new Array();  
for (var prop in \_root){  
if(typeof prop == “movieclip”){  
myArray.push(prop.toString())  
}  
}  
// not too sure about prop.toString() in the above code

function moveAllMCs(arrayname, addX, addY){  
for(var i = 0; i \<myArray.length; i++){  
\_root.[myArray\*].\_x += addX  
\_root.[myArray\*].\_x += addy  
}  
}

//usage

moveAllMCs(myArray,10,10)

[/AS]

Would that work if everything in the movie was in a movieclip?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 10, 2003, 8:54pm UTC](https://forum.kirupa.com/t/moving-the-stage/22922/4 "2003-06-10T20:54:24Z")

</div>

lol njs… you lost me at “actionscript” i’m too n00bish to be true 😛

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 10, 2003, 9:01pm UTC](https://forum.kirupa.com/t/moving-the-stage/22922/5 "2003-06-10T21:01:03Z")

</div>

thx beta, that was exactly what i was looking to do 😃 i tried searching the forums but i couldn’t find anything. i love your website too

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 10, 2003, 9:02pm UTC](https://forum.kirupa.com/t/moving-the-stage/22922/6 "2003-06-10T21:02:34Z")

</div>

I’m not too good either… I’m sure now that code wouldn’t work…

//start shameless promotion of book\  
get Colin Moock’s ActionScript for Flash MX: The Definitive Guide if you want to learn AS.  
//end shameless promotion of book\

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 10, 2003, 9:11pm UTC](https://forum.kirupa.com/t/moving-the-stage/22922/7 "2003-06-10T21:11:02Z")

</div>

> \*Originally posted by Ifonly \*  
> \*\*thx beta, that was exactly what i was looking to do 😃 i tried searching the forums but i couldn’t find anything. i love your website too \*\*

No problem. It took me a few searches to find it, but I was determined because I knew for a fact that it existed so I just tried to remember what was said.

And thanks =)
