# Need help passing xml object from javascript to flash

**URL:** https://forum.kirupa.com/t/need-help-passing-xml-object-from-javascript-to-flash/301974
**Category:** Uncategorized
**Created:** [December 18, 2009, 3:46pm UTC](https://forum.kirupa.com/t/need-help-passing-xml-object-from-javascript-to-flash/301974 "2009-12-18T15:46:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Neofatalist](https://avatars.discourse-cdn.com/v4/letter/n/22d042/32.png) [@Neofatalist](https://forum.kirupa.com/u/Neofatalist)
#### Post date: [December 18, 2009, 3:46pm UTC](https://forum.kirupa.com/t/need-help-passing-xml-object-from-javascript-to-flash/301974/1 "2009-12-18T15:46:50Z")

</div>

A brief overview:

1. I am working on a project in ASP and I am making queries to a SQL db that returns data back in the form of xml. I am not in control of the db or how it returns data.

2. I process the XML within the ASP page and then I also process the data from within flash. I am therefore making two database calls for one page view.

3. I am trying to figure out if I can in anyway, pass an XML list from the page to flash so that I am making only one database call. The site is heavily hit and I am practically doubling the server load. Need help!

Basically, the only way I think that may be possible is through javascript but not sure where to begin… if there are any other ways to do this please help… thanks!!!
