Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can Flash read an XML file from Memory

Status
Not open for further replies.

Merkaba

Programmer
Jun 14, 2005
69
US
I need to make a dynamic chart in Flash for a web app. I'm using XML for the data, but my boss doesn't want the XML file to be written to the server or client PCs. He wants it to stay in memory only somehow and transfered to Flash. Flash, I think, is gonna want a physical file to read. I said I'd see if it was possible, and found nothing to help on the internet. Usually, someone on here will know what to do. So, my situation:

- I HAVE to use Flash in the web app
- The XML File cannot be written to server/client
- No "Scripting.FileSystemObject"
- .asp platform, using MSSQL as a backbone

Some ideas I had were to use a Stream Object into Flash, but I'm not the ActionScript guy and don't know if it's possible.

Even if you say, "Can't be done", it will be greatly appreciated.

Thanks


Bob
 
Generate the XML through an ASP page.

Try here

Hope it helps.

Wow JT that almost looked like you knew what you were doing!
 
Thanks,

I've made the XML File, but I don't know how to load it into Flash without it being a SAVED file. The IIS Server will not allow Write Access to all users so it is impossible to make a .xml file for everyone, as it is dynamic. I need to load it into Flash FROM Memory because only Admin can write to the dir. Clients won't be Admin in AD/IIS for obvious security reasons. This has nothing to do with the ASP Security like Session Variables, this is Windows Authentication I have to work around. Is it possible to load a ADODB.RS from ASP into Flash somehow? Any Ideas???


Bob
 
Umm... did you look at the article that I linked above?

Wow JT that almost looked like you knew what you were doing!
 
Thank you!!!

My bad, I didn't go thru it all, it seemed like it was a reference to saving a RS to and XML file. I sent the link to the Flash guy here, and he is gonna work on it. Sorry I didn't notice it the first time, I just suck at multitasking sometimes.


Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top