the deal with relative paths.

Out of context: Reply #3

  • Started
  • Last post
  • 3 Responses
  • hotroddy0

    After creating a new xml object, can you substitute a variable (in this case dynamic) which contains the exact path to the xml file. This way I wouldn't have to hard code the path.
    --ie. instead of --
    this.slides_xml.load(galleries/g...

    --you do --
    this.slides_xml.load(xmlPath);

    --where 'xmlPath' is a variable containing the path shown above in the first example.

    I tried it and so far no success. Do I not have the proper syntax or cannot not be done?
    I know the variable is being passed so it can't be that.

View thread