# Flash and Filemaker, Using ASP - help neede

**URL:** <https://forum.kirupa.com/t/flash-and-filemaker-using-asp-help-neede/252174>\
**Category:** flash\
**Created:** [February 17, 2008, 8:28am UTC](https://forum.kirupa.com/t/flash-and-filemaker-using-asp-help-neede/252174 "2008-02-17T08:28:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![EthanPhoenix](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@EthanPhoenix](https://forum.kirupa.com/u/EthanPhoenix)\
**Post date:** [February 17, 2008, 8:28am UTC](https://forum.kirupa.com/t/flash-and-filemaker-using-asp-help-neede/252174/1 "2008-02-17T08:28:11Z")

</div>

Hello all:D,

I’m new to this forum and to Actionscript (and ASP).  
I was looking all over for an answer to a problem I have with my flash and filemaker DB integration. I hope someone can help me…:

The main problem - My flash file sits on a different server than my DB - therefore it can’t communicate with it.

My workaround (still incomplete-this is where I need help):  
Using ASP file ([Server-side proxy method](http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16520&sliceId=1)) I managed to write the data into a variable.

Here is the Actionscript (simplified) code:

```auto
on (release) {
    xmlFile = "http://filemakerserver/fmi/xml/fmresultset.xml?-db=mydb&-lay=mylay"+name_var+"&-find";
    loadVariables ("proxydb.asp", "", "GET");
}

```

Here is the ASP code:

```php
<%@ LANGUAGE=VBScript%>
<% 
    Response.Buffer=True 
    Dim MyConnection, TheURL
    
    ' Specifying the URL
    TheURL = Request.Querystring("xmlFile")
    
     Set MyConnection = Server.CreateObject("Microsoft.XMLHTTP")
    ' Connecting to the URL
    MyConnection.Open "GET", TheURL, False
        
    ' Sending and getting data
    MyConnection.Send 
    TheData = MyConnection.responseText

    'Set the appropriate content type
    Response.ContentType = MyConnection.getResponseHeader("Content-Type")
    Response.Write "&myXML="&TheData

    Set MyConnection = Nothing
%>

```

One of the problems is that there is a short delay until the server loads the XML data into ‘myXML’ variable.

Is there a good way to track live if ‘myXML’ data has changed (from ‘undefined’) and when it does, do “something”?

I tried to work with loadVars but wasn’t sure what I’m suppose to…:eek:

Another problem is that flash is not recognizing the income as an XML object…help…

Any comments will be welcome.

Thank you in advance.

Ethan
