Skip to main content
Known Participant
October 19, 2010
Question

basePath =/xml

  • October 19, 2010
  • 1 reply
  • 623 views

Hi,

I am working in as2 with xml. Trying to update a site that I am not familiar with.

I am seeing a path called basePath in this type of configuration:

this.loadContainer.loadMovie("configurator.swf?basePath=/xml/&xMLFileName=configurator")

and this configuration:

xmlData.load(basePath + "homepageDL.xml");

They are placed on a the 1st frame  in the global action layer.

Also see it on a  layer called frameActions on frame 2.

I am not sure what they are referring too when using the "basePath" reference...What does it mean and where would you suggest I go to find it?

Thanks in advance

Barbara

This topic has been closed for replies.

1 reply

schugabugAuthor
Known Participant
October 19, 2010

Is it where the files are hosted at the hosting company?

schugabugAuthor
Known Participant
October 19, 2010

I found it, it was right there in front of me.. I  changed it from

xmlData.load(basePath + "homepageDL.xml")

to  xmlData.load("xml/homepageDL.xml); and  moved the xml folder files to same folder as swf file.

It works like a charm!