Ooops - replied to the wrong thread.
Yes - Flash 8 only. You can't do it with attachMovie unless it's inside
a MovieClip symbol as far as I know. In Flash 8, you can do this:
import flash.display.BitmapData;
var myGraphic:String = "MyGraphicLinkageID"; var myBitmapData:BitmapData
= BitmapData.loadBitmap(myGraphic); var mc:MovieClip =
this.createEmptyMovieClip("myImage", this.getNextHighestDepth());
mc.attachBitmap(myBitmapData, this.getNextHighestDepth());
Jason Merrill
Bank of America
Learning Technology Solutions
>>-----Original Message-----
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael
>>Sent: Wednesday, June 07, 2006 2:25 PM
>>To: Flashcoders mailing list
>>Subject: [Flashcoders] Attach jpg?
>>
>>Mental block here:
>>Is it possible to load a jpg with a linkage identifier from the
library
>>into a MC on the stage?
>>
>>attachBitmap and attachMovie don't seem to do it.
>>
>>Thanks,
>>- Michael M.
>>
>>_______________________________________________
>>[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
_______________________________________________
[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