0 Replies Latest reply on Oct 8, 2006 2:56 PM by /usr/local/ΕΨΗΕΛΩΝ

    Cannot use SWFLoader with files in subdirectories

    /usr/local/ΕΨΗΕΛΩΝ
      Well... the topic tile is self-explanatory.

      I use a script to load a movie dynamically at runtime with SWFLoader like the following:

      _tmploader.load("Controls/" + name + "/" + "Default.swf");

      I have a directory of controls where I want to place SWF files that my app loads. The problem is that when I place a name.swf control (ie "Welcome.swf", "Photos.swf") in the same directory as my app (Default.swf), the trick works fine and I can load a control that is unknown at compile time. But when I use subdirectories this doesn't work. The loader doesn't load anything.

      What could be the reason?
      Thanks in advance