|
Mailing Lists
|
Home /
Groups /
Adobe Flex
Problem with image scaling
Author: adrian lynch
Short Link: http://www.houseoffusion.com/groups/flex/thread.cfm/threadid:1782#5540
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/
Author: Nate Skiba
Short Link: http://www.houseoffusion.com/groups/flex/thread.cfm/threadid:1782#5530
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?
|
May 25, 2012
|
Latest Fusion Authority Articles
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||