flash/xml help
- Started
- Last post
- 10 Responses
- snizl
I'm working on a flash map that pulls in xml and attaches houses(mc's) to the stage based on brand name and x/y coordinates. I have it working for the most part but can't figure out why it is not attaching all of the instances. I believe it has something to do with my arrays. You can check out the code here: http://pastebin.coconut.se/?id=4…
Any help is greatly appreciated! Also if you have any suggestions on how to set it up better please let me know. Thanks.
- snizl0
No one? :(
- loahn0
xml is really sensitive so i'd souble check the xml doc for rogue characters, symbols, odd line-breaks, misplaced quote marks (") etc. Flash is parsing most of the locations within a "for" loop, so chances are your script is probably right and the xml is wrong.
Any help?
- loahn0
Have you tried viewing your xml doc in IE of Firefox (or any other web browser) - what happens?
- snizl0
I've been testing it in flash, and not on the server. I'll give it another run through.
- snizl0
I fixed it, I just made a new movie clip for each particular set of house to attach to instead of attaching them all to the same one.
Still need help in getting the dynamic txt boxes in each mc to populate with the correct txt though.
- snizl0
anyone??
- ********0
http://www.machnewmedia.com/grow…
download this and check out how I bring in XML
- snizl0
Where do you parse the xml, I cant' seem to find it.
- snizl0
found it, didn't realize people still use scenes.
- snizl0
While I follow what you are doing, my xml is a lot more complicated. I appreciate the help though.