Flash/ASP integration: Best way to pass data?

i'm working on a flash application for the web which would require getting huge amount of data from an Oracle database.

Now, from prior experience i know that i have to use name-value pairs to print the data out on the asp page and then load it into flash using loadVariables. However, the size of the data being large, is this the best method to use? What if the asp page times out? Would XML be a better option?

In case you've worked on a similar kind of a project, I would appreciate it if you could point a link to it with your advice.


p.s. Kindly note that i am using Flash 8 and there is no chance of using ASP.NET as the middle-tier

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I would really suggest making use of XML if you're going to be making use of a lot of data. It'll require quite a lot of work but it should make things easier. With regards to pointing you to a link: http://www.geocities.com/trigger_happy_elite/csite.zip

That's the class site that i worked on (and was forced to abandon due to lack of time). There should be stuff there that has something to do with XML. You can use that to get an idea of how its done.

fernandesfranAuthor Commented:
Hi trigger-happy,
First of all, i apologize for being so late to reply.

As regards your reply:
When i try to open your zip file it says that the file is corrupted. However, from what i can guess, its a basic xml-flash integration example? Actually, let me tell you that i am a intermediate flash developer and i know how to integrate flash with xml, having already written a few applications using the technique.

My doubts lie in terms of the amount of data. What i mean to ask is, if i make a request for a lot of data will it in some way time out?

In a prior project, when i was requesting about 150 lines (or 30 nodes) of xml data, it didn't time out and the application is still running fine after two years. But, in the current scenario the data might be 500-1000 lines or more, and needs to be loaded all together, i.e. i can't load it in parts.

Now we know that XML documents, though standards based, add so much in terms of node names etc. In this case what will be the safest bet? XML or Name Value Pairs?

I needed more opinions / or links to opinions / or working examples if possible. Hope that makes it more clear? :)


fernandesfranAuthor Commented:
It's good that you found the solution :)

PAQed with points refunded (125)

Community Support Moderator

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.