# \_global problem (between two movies)

**URL:** <https://forum.kirupa.com/t/-global-problem-between-two-movies/102128>\
**Category:** Uncategorized\
**Created:** [February 20, 2004, 1:31am UTC](https://forum.kirupa.com/t/-global-problem-between-two-movies/102128 "2004-02-20T01:31:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LastJedi](https://avatars.discourse-cdn.com/v4/letter/l/eada6e/32.png) [@LastJedi](https://forum.kirupa.com/u/LastJedi)\
**Post date:** [February 20, 2004, 1:31am UTC](https://forum.kirupa.com/t/-global-problem-between-two-movies/102128/1 "2004-02-20T01:31:47Z")

</div>

Hi, (I 've read other \_global topics & didnt help )  
my second swf (which will display as a tip in windows) reads data from Access. Buttons are in the first swf. Onrollover sends an “id” to the second swf.

first swf says:

\_global.num = 2;  
loadMovie(“second.swf”,“golge”);

second swf:  
movie\_on\_load:  
any\_num = \_global.num;

tip says: (which is a moveClip)  
loadVariables("GetDetail.asp?Record="add String(\_root.any\_num) ,this);

…

there is a BIG mistake for me …

I couldnt find anything. What’s wrong???

---

<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:** [February 20, 2004, 5:28am UTC](https://forum.kirupa.com/t/-global-problem-between-two-movies/102128/2 "2004-02-20T05:28:38Z")

</div>

loadVariables("GetDetail.asp?Record="add String(\_root.any\_num) ,this);

there u have to remove the \_root

loadVariables("GetDetail.asp?Record="add String(any\_num) ,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:** [February 20, 2004, 7:50am UTC](https://forum.kirupa.com/t/-global-problem-between-two-movies/102128/3 "2004-02-20T07:50:59Z")

</div>

ok, I fixed it … Moved “any\_num = \_global.num;” into Movie Clip. It works (fine) but this time it works too slow. When I rolls over a button, it waits … waits … and waits … then shows the result.  
-about 15 seconds- isnt too slow?

I guess I am using something too much … Should sit and think …
