3 Replies Latest reply on May 2, 2010 7:34 AM by Ned Murphy

    Placing a swf in a swf

    Krober

      Hello,

       

      I'm loading one swf into another using the following code:

       

      var request:URLRequest = new URLRequest("folio.swf");
      var loader:Loader = new Loader()
      loader.load(request);
      addChild(loader);
      loader.y = 110;

       

      The original swf (folio) has a dark grey background - the stage colour. However within the second file it appears with a white  or transparrent background. I've loaded a similar swf into an html page, and it's preserved its background colour.

       

      Am I missing a trick here? Many thanks in advance.