Hi list,

I'm building a big Cairngorm application that consists of a GUI that loads
various swf's as pages. The path to these pages is "assets".

One of the loaded pages is "products.swf", a standalone Cairngorm
application that loads assets. It's built in its own folder and locates the
assets under the following path: "assets/products". The problem is that when
I load this page into the GUI it can't find the assets anymore.

After lots of tests I found out that "products.swf" needs its assets to be a
path relative to itself, not relative to the swf it is loaded in! I've
always learned that a swf needs its assets path set relative to the swf it
is loaded in. It gets even more strange: it needs a copy of its assets,
nested in the already available assets folder in order to work or it simply
cannot access them. Removing the original assets and just using the deeper
nested assets doesn't work either.

Here is a (simplified) image of the folder trees in the setup that seems to
work:
http://download.mediamonkey.nl/double-asset-paths.png

So my question is, how is this possible? And what can be done to make sure
that I only have one folder with assets that all loaded swf's can get access
to?

Thanks in advance,
Bart

Reply via email to