Hello.

In my swf Application, I can change var's movieclip:
background color, text, drag- swf, image into the movieclip ( WYSIWYG method ).
in the end, I send via xml to php page and to sql database.
Evreything works O.k.

I need also, send by the xml, just the location of the movieclip to php file.
( The reason is: I want to display just this moveclip with all the change vars in a new browser page ).

I dont know how to send by xml the location of the movieclip.
Help anyone??

My flash actionscript:

Thanks

function save_basic_xml()
{
var basic_id;
var _loc42 = new LoadVars();
_loc42.basic_id = _root.loaded_basic_id;
_loc42.basic_xml = _root.generate_xml(_root.myhome);

if (_root.so == "true")
{
_loc2.so = "true";
} // end if
_loc42.sendAndLoad(_root.script_path + "save_basic.php", result_lv, "POST");
result_lv.onLoad = function (success)
{
if (success)
{
basic_id = result_lv.basic_id;
_root.loaded_basic_id = basic_id;
_root.homepage.user_basics.load_gal(_root.script_p ath + "get_user_basics.php?tick=" + getTimer() + "&basic_id=" + _root.loaded_basic_id, "");
_root.is_saved = true;
}
else
{
trace ("Error saving basic");
} // end else if
};
} // End of the function


AND THE XML:

Function parse_to_xml(layer_obj)
{
var _loc90 = "";
switch (layer_obj.layer_type)
{
case "gif":
{
_loc90 = _loc90 + ("<layer id=\"" + "\" type=\"img\" src=\"" + layer_obj._y + "\" width=\"" + layer_obj._xscale + "\" height=\"" + layer_obj._yscale + ""\" original_width=\"" "\"></layer>");

}
//....................................
Thanks.