[Flashcoders] Projector, loaded SWFs and audio files

2009-06-11 Thread Eric E. Dolecki
Quick question. I have a projector that loads SWFs on demand. The SWFs are in a subdirectory called Sections. Each section SWF that loads into the directory loads it's own audio from a folder inside the Sections directory. Works fine on their own, but when loaded into the Projector, the relative

Re: [Flashcoders] Projector, loaded SWFs and audio files

2009-06-11 Thread Hans Wichman
i just read that post again and boy is that thing old... anyway the basic idea is still the same, but the execution can be improved:) On Thu, Jun 11, 2009 at 8:11 PM, Hans Wichman j.c.wich...@objectpainters.com wrote: Hi Eric, are you using as2 or as3? The basic solution is to look at the

Re: [Flashcoders] Projector, loaded SWFs and audio files

2009-06-11 Thread Hans Wichman
Hi Eric, are you using as2 or as3? The basic solution is to look at the url of the loading swf, and make your paths relative to that. If you make it a little more complex (but usually some splitting and joining will be enough) you can use something like this: