|
|
Home /
Groups /
Adobe Flex
Problem with image scaling
Would be interesting to see your code as it sounds unlikely that the scaling wouldn't complete.adrian lynch 11/18/08 05:53 A I'm currently writing a flex application where I'm scaling images on a hidden canvas, and then taking a bitmap of them and drawing that bitmap to a visible component. There are two reasons for this: so that the user doesn't see a mixture of scaled and unscaled images, and so that I can do some operations on the bitmap, saving the processing time of altering all of the objects. The problem is that the scaling doesn't seem to have finished by the time I create the bitmap. The bitmap gets drawn as partially scaled images. Is there a way that I can be sure the operation has finished first? Or is there a better way I should be going about this? Would be interesting to see your code as it sounds unlikely that the scaling wouldn't complete. To make sure it isn't something else, control the progress of your app but a user event, a button that moves things on to the next step. If it still fails you'll know it's not a timing issue. Adrian Building a database of ColdFusion errors at http://cferror.org/
|
Mailing Lists
|
Latest Fusion Authority Articles
|
||||||