# \_global becomes undefined in new FLA

**URL:** <https://forum.kirupa.com/t/-global-becomes-undefined-in-new-fla/29502>\
**Category:** flash\
**Created:** [August 27, 2003, 3:32pm UTC](https://forum.kirupa.com/t/-global-becomes-undefined-in-new-fla/29502 "2003-08-27T15:32:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DigitalPimp](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@DigitalPimp](https://forum.kirupa.com/u/DigitalPimp)\
**Post date:** [August 27, 2003, 3:32pm UTC](https://forum.kirupa.com/t/-global-becomes-undefined-in-new-fla/29502/1 "2003-08-27T15:32:47Z")

</div>

Aight, I’ve managed to solve most of my issues with this stupid FLA. However, here is one more issue. Somehow, in my FLA all of my \_globals become undefined inside a MC. I really am either stupid of this crap is just buggy…

Can somebody plz take a look and tell me what the hell is going on.

If you look @ my FLA on Layer 4 in the root I pass the \_global.GradePV to a input box and then in \_root.gradeStrip.Symbol11 I do a trace on the same Var and it write undefined.

plz plz plz somebody help me out here.

Thanks,  
DP

---

<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:** [August 27, 2003, 3:44pm UTC](https://forum.kirupa.com/t/-global-becomes-undefined-in-new-fla/29502/2 "2003-08-27T15:44:46Z")

</div>

Replace all \_global’s with \_root, that always works for me.

---

<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:** [August 27, 2003, 3:52pm UTC](https://forum.kirupa.com/t/-global-becomes-undefined-in-new-fla/29502/3 "2003-08-27T15:52:01Z")

</div>

It didn’t work.

A matter a fact I created another variable called gradePV1 on the \_root and then gave it a value and then tried to called it from inside that MC and that didn’t work either… Ⓜ :hangover: :crazy: :\*(

---

<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:** [August 27, 2003, 3:56pm UTC](https://forum.kirupa.com/t/-global-becomes-undefined-in-new-fla/29502/4 "2003-08-27T15:56:06Z")

</div>

I just found out that inside the onEnterFrame = function() it doesn’t work but if I put it outside of that then it does work. What the hell is wrong with this?

---

<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:** [August 27, 2003, 4:34pm UTC](https://forum.kirupa.com/t/-global-becomes-undefined-in-new-fla/29502/5 "2003-08-27T16:34:39Z")

</div>

NVM I figured it out on my lonesome… Thanks once again guys… ☹
