| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Apr 2004
Location: France
Posts: 52
|
Hi, is there a way to create a bitmapdata from a dynamically loaded jpg or png? I'm searching the documentation and the web and I can't find anything related to this. It seems we can only import images from the library with the BitmapData.loadBitmap method.
|
|
|
|
|
|
#2 |
|
Off-Line
Join Date: Aug 2004
Location: Ibiza/Spain language :Hungarian/German/ abit English
Posts: 6,539
|
1. load a JPG as usuall to a movieclip
2. as fare it's loaded use the bitmapdata.draw methode |
|
|
|
|
|
|
|
|
#3 |
|
six eyes
|
see an example here:
http://www.senocular.com/pub/flash/8...ateloadedimage
__________________
(6) |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Apr 2004
Location: France
Posts: 52
|
Alright, thanks,
looks like I misunderstood the purpose of the draw method... I was already thinking about creating an xml file containing the image from the server and rebuilding it with setPixel within flash... This would have been horrible. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|