PDA

View Full Version : xmlconnector url problem


bbarbin
07-17-2005, 12:10 AM
Hi,

I have a application that uses a xmlconnector component to pull information from an xml file into a combo box. It works fine if I put the xml file in the same directory as the exe file, and just put the name of the xml file into the url field for the component.

Here is my problem. The XML file needs to be in a different folder then the exe. And I need to set the URL dynamically with ActionScript. It seems that this can be done, but I can't seem to get ti to work using any examples I have found.

Here is what I have so far:

------------------------------------------

fullurl = "C:\\path to file here";

this.xcTrips.url = fullurl;
// Trigger Data Source Behavior
// Macromedia 2003
this.xcTrips.trigger();

------------------------------------------

Thanks in advance for any help.

Bill