XML Connector Problems

This is a discussion on "XML Connector Problems" within the Flash & Multimedia Forum section. This forum, and the thread "XML Connector Problems are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 31st, 2006, 16:25
New Member
Join Date: Jul 2006
Location: US
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
XML Connector Problems

Hello All!

Here is the goal: From within Flash, send two variables to a PHP script that takes those variables and runs a mySQL query, sends it back to Flash in XML format, and Flash then displays the information in a datagrid.

All of the backend is done and works well.

In Flash, I am using the xmlconnector to reciever the data and I have bound it to a dataGrid component.

To make sure I properly configured the xmlConnector, as well as correctly bound it to the dataGrid component, I created a PHP file that already had the two variables hard-coded so it does not rely upon input from the outside in order to properly generate the XML for Flash.

My actionscript was simple enough:
Code: Select all
xmlConn.URL = "http://www.portamentisdesigns.com/clients/mps/queryResultsXML2.php";
xmlConn.trigger();
The above actionscript works fine as well.

However when I tried connecting to the original PHP file that needs inputted variables, the following AS code failed:

Code: Select all
xmlConn.URL = "http://www.portamentisdesigns.com/clients/mps/queryResultsXML.php?variableOne=something&variableTwo=somethingElse";
xmlConn.trigger();
Why isn't it as simple as giving the xmlConnector a URL with appended vars?

If the above code had worked, the next logical step would have been along the lines of:
Code: Select all
var variableOne= varOneTextField.text;
var variableTwo= varTwoTextField.text;

dataXML.URL = "http://www.portamentisdesigns.com/clients/mps/queryResultsXML.php?variableOne="+variableOneInput+"&variableTwo="+variableTwoInput
xmlData.trigger();
Where has my understanding and/or logic failed here? Thank you for your help.

Take care,

Nate
Reply With Quote

Reply

Tags
xml, connector, problems

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
IE Problems AndrewChip Web Page Design 9 Dec 29th, 2007 14:35
IE7 problems... Gooner Starting Out 17 Aug 21st, 2007 13:02
Problems timmytots Web Page Design 8 May 6th, 2007 18:19
IE Problems Echilon JavaScript Forum 0 Apr 4th, 2007 11:47
IE/FF Problems adamas85 Web Page Design 3 Apr 21st, 2006 01:51


All times are GMT. The time now is 20:10.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43