Here is the code
Im loading the jpg into image_mc witch is in the main movie pic_holder
And then Im drawing it
All I get it kkust a blank bitmap no pic .
///////////////////////////////////////////////////////////////////
mclListener = new Object();
mclListener.onLoadInit = function(target_mc) {
}
image_mcl = new MovieClipLoader();
image_mcl.addListener(mclListener);
image_mcl.loadClip(_root.timage, pic_holder.image_mc);
make_pic=function(){
myBitmapData = new BitmapData(500, 400, false, 0xFF00FFFF);
mc_1 = _root.createEmptyMovieClip("mc",_root.getNextHighestDepth());
mc_1.attachBitmap(myBitmapData, this.getNextHighestDepth());
myBitmapData.draw(_root.pic_holder);
}
/////////////////////////////////////////////////////////////////////
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com