|
-
loading Image in to bitmapData
Hi,
after experementing with the new feature, I couldnt figger it out, is it possible to load an image [not from the libery], an external image in to a bitmapData, or do I have to first load into a MovieClip, and then drow it in to bitmapData? in that case i still have the original clip on the Stage, how do I get rid of it??
thanks in advance
-A
-
you can use removeMovieClip()
-
when I try to use removemovieclip or all the othe trick [_alpha = 0, _x = -Stage.width...] my bitmap is not shoeing, since its dependent on the original clip.
-
i think you can do so after u draw the mc into bitmap
-
You load the image into a temporary movieclip, then draw the image into a bitmapdata object, then remove the temporary movieclip.
See my article on Macromedia Devnet:
http://www.macromedia.com/devnet/fla...ge_api_05.html
-
I see, so in order to see it i need to attach it in to a new movieclip.
about the "onLoadInit" function, how would I assign it to this specific loader in a real website when I want to load more then one image and have different functions for each?
thanks
-A
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|