# VERY quick question (honestly)

**URL:** https://forum.kirupa.com/t/very-quick-question-honestly/17350
**Category:** flash
**Created:** [April 4, 2003, 2:45am UTC](https://forum.kirupa.com/t/very-quick-question-honestly/17350 "2003-04-04T02:45:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mindfriction](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mindfriction/32/172_2.png) [@mindfriction](https://forum.kirupa.com/u/mindfriction)
#### Post date: [April 4, 2003, 2:45am UTC](https://forum.kirupa.com/t/very-quick-question-honestly/17350/1 "2003-04-04T02:45:25Z")

</div>

Hi there,

If a variable is declared in a movie as global (\_global). Is this variable available to a movie which loads this movie via LoadMovie() ?

i.e. parentMovie loads childMovie.swf

---

<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: [April 4, 2003, 3:42am UTC](https://forum.kirupa.com/t/very-quick-question-honestly/17350/2 "2003-04-04T03:42:26Z")

</div>

Yeah, but I tried that before and for some reason it kept resetting my variable.

Instead of getting all upset about it, I just put the variable in the main timeline and called it as \_root.variableName

It works with loaded movies that way as well.

I don’t know if I was doing something wrong with \_global, or if it is a bug, I didn’t mess with it too much because I just wanted to get the script done with…lol.

---

<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: [April 4, 2003, 4:51am UTC](https://forum.kirupa.com/t/very-quick-question-honestly/17350/3 "2003-04-04T04:51:41Z")

</div>

LOL… yeah Im at the same stage where i just want to get things working. I figured i could post this question before I started breaking things, …Oh Well 🙂
