Loading image into bitmapdata

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • atlkhan
    New Member
    • Apr 2007
    • 39

    Loading image into bitmapdata

    Hi

    I am loading bitmapdata from the library like this

    linkageId = "landscape" ;
    myBitmapData = BitmapData.load Bitmap(linkageI d);

    Than attach this bitmap image to a movie.

    mc = this.createEmpt yMovieClip("mc" , 0);
    mc.attachBitmap (myBitmapData, 0);

    Can someone give me the code to load my image using loadMovie instead of from libarary and attach it to movie clip mc.
Working...