ninjapheret
08-04-2004, 07:14 PM
Hi there.
I've been stuck with a project at work wherein I've had to make a small flash program for a website which allows someone to type in their last name and then see something as a result of it. The prog is for a non-for-profit charity, and whoever has donated money to it has received a small plaque. The idea of the prog is to allow them to type in their last name and show them what their plaque will look like.
I had originally done a simple "if (nameBox.text = "smith") ... else if (nameBox.text = "johnson").... etc for a dozen different names.
Now, however, there are over 200 different names, and I know it would be better to parse an XML database by searching and displaying one node, than by typing in all the names in elseif form.
Problem is I'm having trouble getting ActionScript to find the data and post..is it really as difficult as tutorials would make it seem? What I'm looking for is rather simple...and I'm unable to find a tutorial that doesn't overshoot my goal by 100 yards..
Any help would *greatly* be appreciated!!
Thanks
I've been stuck with a project at work wherein I've had to make a small flash program for a website which allows someone to type in their last name and then see something as a result of it. The prog is for a non-for-profit charity, and whoever has donated money to it has received a small plaque. The idea of the prog is to allow them to type in their last name and show them what their plaque will look like.
I had originally done a simple "if (nameBox.text = "smith") ... else if (nameBox.text = "johnson").... etc for a dozen different names.
Now, however, there are over 200 different names, and I know it would be better to parse an XML database by searching and displaying one node, than by typing in all the names in elseif form.
Problem is I'm having trouble getting ActionScript to find the data and post..is it really as difficult as tutorials would make it seem? What I'm looking for is rather simple...and I'm unable to find a tutorial that doesn't overshoot my goal by 100 yards..
Any help would *greatly* be appreciated!!
Thanks