Hi and thanks for the response!
Here is a little bit of the xml code. all data is arranged like this for about 10000 or so different businesses.
Thank you for the help.
Main Topics
Browse All TopicsHi there,
im working on an actionscript/xml project that is pulling company names and information out of the xml file. I have the flash search function working but i would like for each company to display with in its own movie clip, that will then be attached to a "container" movie clip that is holding all of the companies relative to the search. What would the best method of implementing this. Would I be able to create all of the movieclips for the companies at once using a forloop in actionscript then once the loop is done have them attach to the container clip?
Thanks for any help that can be offered.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: tagitPosted on 2007-12-12 at 14:54:19ID: 20460944
Hi,
pert/Uploa d/getFile. php?fid=61 31
I wrote a wrapper function for reading XML from a file into an object ie:
<COMPANY>
<NAME>XYZ</NAME>
</COMPANY>
<COMPANY>
<NAME>ABC</NAME>
</COMPANY>
Would be converted to an object so that:
var companies:Object = new Object();
// after loading XML and conversion would allow this:
trace(companies[0].name) // XYZ
trace(companies[1].name) // ABC
Feel free to use it:
http://www.ee-stuff.com/Ex
Once you have this working you can quite easily create movie clips etc just by looping over the array.
Can you post part of your XML so I can explain further how you would do this in Flash?