• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 514
  • Last Modified:

Flash AS2 path

I am using a flash AS2 app that is a shell app that loads other swf's. This works fine on teh web or on the hard drive.  I ma developing a VB app and i used the shockwave activex object, the SWF i load reads in an XML and iss successfukll in doing that. The individual SWF's loaded also read in an XML - these stopped working in the activeX.  loadXML("LearnIPT/xml/"+MyXMLToLoad+".xml");  I think its a path issue since the parent SWF works fine.

In AS2  how can i trace or display in the path, full path, where its looking for the xml.

1 Solution
the xml path for the individual swfs must be relative to the parent swf and not the individual swfs
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now