2 Replies Latest reply on Aug 10, 2011 1:26 AM by Barno7

    Load Swf in Mobile Project


      I have to upload 6 swf within my project and put them into an array.
      swf is the same and I have to charge it for 6 times

      I tried with this code:
      loader = new Loader ();
      loaderContent = new Object ();
      loader.contentLoaderInfo.addEventListener (Event.COMPLETE, onLoadComplete);
      loader.load (new URLRequest ("assets/my_swf.swf"))

      but in my phone does not see anything, while in the preview I see my swf.

      as the best way to load external SWF?

      if I wanted to use <s: SWFLoader how do I make a loop on this, and then plug it into an array?