Other CS4 BUG.
BUG APPEARS: when you trying to optimize bitmap in library (changing JPG compression level).
BUG RESULT: Errorous bitmap (disappearing , flickering, blinking,…) in final SWF file or in flash preview.
SOLUTION: Save (with optimized jpg), Close (FLA with bug), Re-Open FLA, Re-publish. Result must be OK.
If you see the same problem with other JPG try again (each time this bug appears do the same operations).
For easy controling bitmaps in your library you can rearrange bitmap-objects sorting by type.
Objective -> quick sort by object type.
1. Initial setting for library – there is no “Type” bar.

2. Resize library till you can see “Type”

3. Drag and drop -> near field “Name”

4. Sort by “Type”.

Always use “Compression movie” as default. It saves bandwidth and server space.
Sometimes (old Content Management Systems) don’t support compressed swf files.
File->Publish Settings ->Flash -> Compress Movie


Situation: You have flash banner 728×90 Leaderboard current size=50kb, but size limit = 30kb. Usual problem ;)
Objective: minus 20kbs… OK read bellow :)
How quickly check banner size
FAST-SIZE-OPTIMIZATION (save your time first):
>70% projects have the same problem – not optimized images (bitmaps).
- Check “Compress movie” in publish settings (Basic step)
- To avoid this situation – use banner templates
- Banner template basics
- How to create own template
- Pictures optimization (1-2-3-…)
- Arrange images in library
- Control compression level for each image separately (from library)
- JPG compression
- lossless (GIF/PNG) compression
- Try to find maximum quality and size compromise
- Reimport different bitmap format (JPG/PNG24/PNG8/GIF)
- Difference between these formats
- Photo for JPG
- “Flat colors” for GIF/PNG8
- Transparent photo for PNG24
- Transparent small photo/flat colors for GIF/PNG8
- Check file size report (analyze)
- Always re-check size report
- Check duplicated images
- Check re-sized images
COMPLEX-SIZE-OPTIMIZATION:
- Check “Compress movie” in publish settings (Basic step)
- To avoid this situation – use banner templates
- Pictures optimization (fastest tactics)
- for JPG
- for PNG24
- for GIF
- use PNG8 vs GIF
- Check file size report (analyze)
- Check graphic symbols
- Check complex animation
- Check complex vector shapes
- Too many corners/curves
- Use Modify->Shape->Optimize
- Check fonts
- Some fonts utilizes too much space
- Avoid complex fonts/artistic fonts
- Use bitmap or Braked to Vector fonts
- If it’s possible – use one type (not bold, italic,extra-bold)
- Check embedded fonts
- Check duplicated content (symbols, graphics, bitmaps,…)
- Check metadata (do not include XMP metadata)
- Check sounds compression
- Check video compression
- Use Vector vs Bitmap
- Use Bitmap vs Vector
- Use Vector + Bitmap smart tactics