5 Replies Latest reply on Jun 10, 2013 6:43 PM by kglad

    draw() method problem

    teeronline

      Hi,

       

      I have this code,

       

      tf.text = my_txtS;

      tf.setTextFormat(format1);

        

      //this.createEmptyMovieClip('my_bm_mc'+i,400+i);

      this.createEmptyMovieClip('my_bm_mcF'+i, this.getNextHighestDepth());

      var bm:BitmapData = new BitmapData(tf._width, tf._height);

         

      bm.draw(tf);

         

      tf._visible = true;

        

      the draw() method works like charm,  what I don't like is the white color background, is it possible to get rid of it?

       

      I can't put the text over picture because of the white bg, at the moment I seperate them from picture, but would be perfect if I could get rid of it.

       

      thanks for the help