I think flash starts eating system performances if I stick gradients and 50% alpha channels everywhere.
if I import a photoshop image of a gradient instead of using gradient within flash, will there be less lag, or is it pretty much the same thing?
I think flash starts eating system performances if I stick gradients and 50% alpha channels everywhere.
if I import a photoshop image of a gradient instead of using gradient within flash, will there be less lag, or is it pretty much the same thing?
At 9/7/13 06:44 AM, ShadowWhoWalks wrote: if I import a photoshop image of a gradient instead of using gradient within flash, will there be less lag, or is it pretty much the same thing?
It depends.
If the gradient you bring in is a vector graphic, it doesn't change that much.
Not sure if PS is capable of creating vector gradients.
If the gradient is a bitmaps graphic, it can help.
If the gradient does not have to be recalculated every time, this can be faster.
In fact, it doesn't matter if it is a gradient or some other image.
If you do Animations with it, that are not only translating the image, the image has to be recalculated, which can cause lag.
At 9/7/13 07:00 AM, milchreis wrote: It depends.
If the gradient you bring in is a vector graphic, it doesn't change that much.
Not sure if PS is capable of creating vector gradients.
If the gradient is a bitmaps graphic, it can help.
If the gradient does not have to be recalculated every time, this can be faster.
In fact, it doesn't matter if it is a gradient or some other image.
If you do Animations with it, that are not only translating the image, the image has to be recalculated, which can cause lag.
it'll be a part of a scrolling map under a buggy AS2 vcam.
I'm considering replacing every gradient globe to bitmaps, thanks for the heads up
At 9/7/13 07:16 AM, ShadowWhoWalks wrote: it'll be a part of a scrolling map under a buggy AS2 vcam.
I'm considering replacing every gradient globe to bitmaps, thanks for the heads up
You could also try cacheAsBitmap, which essentially does the same thing.
By all means though: If you have concerns about performance, As3.