# \[FMX\] Actionscripted XML problem(s)

**URL:** https://forum.kirupa.com/t/fmx-actionscripted-xml-problem-s/54151
**Category:** flash
**Created:** [June 11, 2004, 1:05pm UTC](https://forum.kirupa.com/t/fmx-actionscripted-xml-problem-s/54151 "2004-06-11T13:05:14Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![grappaFruit](https://avatars.discourse-cdn.com/v4/letter/g/43a26b/32.png) [@grappaFruit](https://forum.kirupa.com/u/grappaFruit)
#### Post date: [June 11, 2004, 1:05pm UTC](https://forum.kirupa.com/t/fmx-actionscripted-xml-problem-s/54151/1 "2004-06-11T13:05:14Z")

</div>

I’m new to XML in Actionscript - implementing and editing XML within Actionscript worked out swell - no problems so far…

but the some\_xml[color=blue].send()[/color] seems to become a true nightmare!

Soit, here’s an example:

I made a little “keep-in-touch” maillinglist, where visitors can leave their adress, click the “send” button - and let the administrator view the list on a secure page. XML suits fine for this job, i think.

```auto

on (press, keyPress "<Enter>") {
mailInput_xml = new XML();
mailInput_xml.ignoreWhite = true;
mailInput_xml.onLoad = function(success) {
		if (success) {
menuItem = this.firstChild.childNodes;
input = 'mail adress="' + _root.mailInput.text + '"';
this.firstChild.appendChild(mailInput_xml.createElement(input))
_root.mailInput.text = "THANK YOU!"
trace(this.toString())
}else{
_root.mailInput.text = "PLEASE TRY AGAIN"
}
};
mailInput_xml.load('Email.xml');
mailInput_xml.send('Email.xml');
}

```

[color=blue]trace()[/color] looked fine, the code puts the adress just where i want it to be, but the mailInput\_xml[color=blue].send(‘Email.xml’)[/color] seems to be dead and smelly.

You can view the site (in construction version) at [http://www.fabula-rasa.be](http://www.fabula-rasa.be/)

P.l.e.a.s.e. help me out here, it’s propably just something stupid i forgot…  
(And yes, I tested it online, to be sure…)
