Hi all, is it possible to load a .js data file which calls an image and includes some text into an XML file, and then render in a swf file? (The container will be in Flash)
I’ve got a client who wants a shopping cart, and it has to be done this way. 
If someone can point me in the direction of a tutorial or something, I’d really appreciate it.
Thanks
All of that seems possible, it would just take some time to make that work well cross-browser. But I’m not sure what you mean with “includes some text into an XML file”? To write to the XML file you would obviously need to use some type of server-side code.
I don’t see why not. Javascript can read XML.
Either way, ExternalInterface class would be a good starting point. After that, just look into Javascripts native methods for reading XML streams.
/E
uhmmm why not have flash just load the XML file with the data? isn’t that much easier?
heck you can make the XML file have information that the .js file would have minus the functions
http://www.codeproject.com/KB/ajax/XMLWriter.aspx
Hi, thanks for the replies. Wes, that’s what I was arguing, but the js include files already exist and he wants to use those. Snore.