Bitmap and vector graphics on mobile devices
 | Add your own tips
Sign?into this wiki (or register) then use Edit to insert your tip or click Add Comment at the bottom of the page. |
Avoid outlines
- Avoid using outlines on vector shapes. Outlines have an inner and outer edge (fills have only one) and are twice the work to render.Corners are simpler to render than curves.
Author: Adobe
rate-458795-82124
| Rate this tip? |
|
|
Use flat edges
- When possible, use flat edges, especially with very small vector shapes.Optimization is especially helpful with small vector shapes such as icons. Complex icons may lose their details upon rendering, and the work of rendering the details is wasted.
Author: Adobe
rate-458795-54340
| Rate this tip? |
|
|
Import bitmap graphics at the correct size
- Don't import large graphics and scale them down in Flash, because this wastes file size and run-time memory.
Author: Adobe
rate-458795-37496
| Rate this tip? |
|
|
Avoide scaling or rotating bitmaps
- The Flash Lite player does not support bitmap smoothing. If a bitmap is scaled or rotated, it will have a chunky appearance. If it is necessary to scale or rotate a graphic, consider using a vector graphic instead.
Author: Adobe
rate-458795-25079
| Rate this tip? |
|
|
Avoid animating text
- Text is essentially just a very complex vector shape. Of course, text is often critical, so it can rarely be avoided entirely. When text is needed, avoid animating it or placing it over an animation. Consider using text as a bitmap. For multiline dynamic and input text, the line break of the text string is not cached. Flash breaks lines at run time and recalculates the breaks every time the text field needs to be redrawn. Static text fields are not problematic, because the line breaking is precalculated at compile time. For dynamic content, using dynamic text fields is unavoidable, but when possible, consider using static text fields instead.
Author: Adobe
rate-458795-54497
| Rate this tip? |
|
|
Avoid using transparency
- Minimize the use of transparency in PNG files; Flash must calculate redraws even for the transparent portions of the bitmap. For example, with a transparent PNG file that represents a foreground element, don't export the transparent PNG at the full size of the screen. Instead, export it at the actual size of the foreground element.
Author: Adobe
rate-458795-92310
| Rate this tip? |
|
|
Group bitmap layers
- Try to group bitmap layers together and vector layers together. Flash needs to implement different renderers for bitmap and vector content, and switching between renderers takes time.
Author: Adobe
rate-458795-65980
| Rate this tip? |
|
|