PDA

Volledige versie bekijken : loadBitmap


Alex1980
%Europe/Berlin %822 %2009, 19:45
Hi,

I want to create a bitmap file. I know the way of putting the image in the library and give it a linkage id like so:
var bmp:BitmapData = BitmapData.loadBitmap("portret");

But the thing is... I want to don't want to load the file from the lib, but from an external file. image.jpg
and than make image.jpg a "bitmap file"
Can anyone help me out here cuz im realy stuck.

Thanks :)

Jan
%Europe/Berlin %881 %2009, 21:08
Usted podrķa cargarlo en un movieclip y utilizar eso para dibujar dentro del objeto de BitmapData.

http://livedocs.adobe.com/flex/201/langref/flash/display/BitmapData.html#draw()

Sinceramente,
J(u)an