1 Reply Latest reply on Jan 22, 2007 4:16 AM by Peter Lorent

    Unable to load the Bitmap at runtime.

    Bencwai
      import flash.display.BitmapData;

      var testBmp:BitmapData=BitmapData.loadBitmap("Sunset");

      var testClip:MovieClip=this.createEmptyMovieClip("testClip",tsetClip.getNextHighestDepth());

      testClip.attachBitmap(testBmp,1);


      testClip._x = 20;
      testClip._y = 20;



      is there any problem for above code?