3 Replies Latest reply on Nov 15, 2006 12:03 PM by kglad

    createEmptyMovieClip problem

    MatMaar Level 1
      Hi all

      I have the following problem.
      I have a product.swf file which I load into into a empty movieClip on the stage of a home.swf file. No problem with that.
      Now I want to create an empty Movieclip into the product.swf file with the function "createEmptyMovieClip".
      When I run the product.swf file it all works fine. But when I run the home.swf file which loads the product.swf file it does not work anymore. Hope anyone can help me here....

      here is my code I use.....


      var bcHolder:MovieClip = this.createEmptyMovieClip("container_mc", 200);
      bcHolder.createEmptyMovieClip("crumb0",1);
      bcHolder.crumb0.createTextField("label_txt", 1, 0, 0, 150, 20);

      bcHolder.crumb0.label_txt.embedFonts = true;
      bcHolder.crumb0.label_txt.autoSize="left";
      bcHolder.crumb0.label_txt.selectable=false;
      bcHolder.crumb0.label_txt.text="Products";