Skip to main content
Inspiring
June 22, 2007
Answered

BitmapData from JPEG

  • June 22, 2007
  • 2 replies
  • 458 views
Hello,

I would like to load an external JPEG file to my movie, than create a BitmapData from it (...to use it with a beginBitmapFill)

Is it possible?
This topic has been closed for replies.
Correct answer kglad
yes, you can use the following. and you might be able to use the URLLoader() to load directly into a bitmapdata object and skip a few steps:

2 replies

kglad
Community Expert
Community Expert
June 22, 2007
you're welcome.
kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
June 22, 2007
yes, you can use the following. and you might be able to use the URLLoader() to load directly into a bitmapdata object and skip a few steps:

SwirlskyAuthor
Inspiring
June 22, 2007
Thank you very much kglad, I've been trying to do that for days...