# \_global problems in Flash MX 2004 Prof

**URL:** https://forum.kirupa.com/t/-global-problems-in-flash-mx-2004-prof/88652
**Category:** flash
**Created:** [May 1, 2005, 12:43pm UTC](https://forum.kirupa.com/t/-global-problems-in-flash-mx-2004-prof/88652 "2005-05-01T12:43:14Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mynewt](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@mynewt](https://forum.kirupa.com/u/mynewt)
#### Post date: [May 1, 2005, 12:43pm UTC](https://forum.kirupa.com/t/-global-problems-in-flash-mx-2004-prof/88652/1 "2005-05-01T12:43:14Z")

</div>

Hi. I’m following a tutorial regarding AS in Flash MX 04 Professional and I got stumped by a \_global problem.

I have a main movie with two movie clips in it, square and circle.

Square contains a script for a global variable. The tutorial states that a \_global variable should be accessible from anywhere, whether in the main movie or within the movie clip (such as in my case).

However, when I use the trace command in the main movie timeline to check for my global variable, I get “undefined.” Supposedly, I’m supposed to get the value of my global variable (“Monday”) in the output window, but all I get is “undefined.”

Can someone please explain to me what I am doing wrong? Appreciate it, thanks.

mynewt  
(attached the fla file–it’s pretty simple).
