Problems with passing _global variable to parent swf

Hi all…

I am having some difficulty passing the global variable: imgloc
from a swf that has been loaded to the parent swf.
I always get ‘undefined’ … :h:

Basically, I am working on a tile-based map editor, that loads images from the server using flash-db’s swfBrowse movie, into a tile tool box. Once the image has been loaded into the tile tool, I need to be able to place it on the map…

In order to do this, I figured that I must load the image again into the tile spot chosen on the map.
To do this I need to load the image using the variable: imgloc which contains the information about the images path and filename of that most recent image loaded… which i know is not reliable, but for now I just want to get a tile placed on the map!!!

here are links to my movies…
http://www.thenewicon.com/test/leditor.fla
http://www.thenewicon.com/test/swfBrowse.fla

The tile tools work by moving to a frame representing the tile tool chosen. tile tool 1 is blank, tile tool 7 is for player.

hitting the red button brings up the filebrowser, and if you choose a tile-tool, it will load the image into the tile tool…

but if the tile is placed, the loaded movie is not brought along with it… i assume this is because flash doesn’t duplicate instances with dynamic content??? :h: :h:
here is the original link for the leditor movie… an awesome tutorial by tor de vries:
http://www.actionscript.org/tutorials/intermediate/Using_PHPObject_to_Save_and_Retrieve_Simple_Game_Levels/index2.shtml
This page also includes links for the phpObject component…

And again, flash-db.com’s swfbrowser, and the instructions for install…
http://www.flash-db.com/remoting/?serviceID=14&category=File%20System

May be a bit much for some, but these services have lots of uses! %^)

Let me know if you discover anything about my problem! thanks!

I’d love to hear even the slightest response from anyone on this because I am thoroughly stumped… thanks
-aleks aka KarmaKat