Home | Help Forums | Web Design Tutorials | Free Swishmax Downloads | All Downloads

 

 

Company

Home

Nework Details

Tutorials

SWiSH 2

SWiSHMax

Flash MX

PHP & MySQL

HTML / JScript

Adobe Photoshop

Corel Draw

Gimp

Miscellaneous

Downloads

Templates

Plugins

Fonts

Wallpapers

Free Images

Scripts and Codes

Products

E-Books

SWiSH BB

SWiSH Templates

SWiSH-DB Newsletter
Subscribe to our newsletter : GO
  Partners / Affiliates

   Swish Templates
   SWiSH Climax
   GimpTalk
   Idea Designs
   Sposatoettore
   Try Acai Berry Diet
   Download Free Ringtones
   Swishzone

Manage your site with Flax Article Content Management System
Reduce swf Movie Size(movie-optimization)
Category : SWiSH 2 | Level : Intermediate | Language : English
Ask Question | Read Comments | Post tutorial | Previous | Next

Web www.swish-db.com

[swf=300x200]http://www.swish-db.com/soundtutorials/optimize-movie.swf [/swf]

Many things to remember when optimizing the movie.

a) Image quality and Size (see tutorial maintian-image-quality)
(major way to reduce size is reduce image size not quality)
cool.gif using huge effects (such as blur)
c) using buttons instead of sprites
d) creating instances of sprites when using it multiple times
e) frame per second for smoothness
f) using buttons' instances
g) using LoadMovie instead of embeding external movies
___________________________________________________________________
cool.gif Using huge effects (such as blur)

Reduce Blur amount and scale factor
Use less frames if fulfill your movie needs
Create simple effects using transform, move effect
___________________________________________________________________
c) Using Buttons instead of sprites

Sprites are Movie Clips (movie within the movie) and use to have
their own timeline and actions. Many of the users use sprites when
creating animated buttons. Better practice for doing such thins is
to embed sprite within the button but not to use sprite as a whole.
If you have already created an animated sprite and is treated as
animated button in the movie, you just convert it to button and
remove its effects in button's up state as you desire. It helps too
much in reduction of movie size when there are too many thing in
your movie.
___________________________________________________________________
d) Creating instance of sprites when using it multiple times

We often copy and paste any animated sprite when need to use it
several times. This is a bad practice. Whenever the actions and all
properties of two sprites are same, there is no need to keep then
individual from eachother. Follow the same way you do,
1) Name the sprite which is to copied
2) copy and paste the sprite
3) click on the copied sprite and goto sprite prpperties tab
4) You will see a combo box labeled "Instance of:". Click on that
combo open it, you will see name of the sprite (which was copied)
is available there. Select it. You will see that Icon of sprite
is also changed and is different from normal sprite icon.
___________________________________________________________________
e) Frame per second for smoothness

Some of the users increase frames of all effects to smoothen the movie.
This is a bad practice. Try increasing fps (frame per second) from
movie tab in properties windows.
___________________________________________________________________
f) Using buttons' instances

We all know that a sprite can have instances as many as we want. But
question is how to create instance of a button? Create a common button
which is usable everywhere in the movie. Copy and paste it as much
required. But remember when creating button that, not to enter any
button text. Now place the text individualy for each button by
inserting text object (not in the button). Actions of the buttons may
differ from eachother which does not cause any problem.
___________________________________________________________________
g) Using LoadMovie instead of embeding external movies

use modular approach to create movie. Distribute it in different
parts and load then where needed. But all the parts whould be
individual swf files. This is expert approach when creating albums,
sound tracks, movie tracks, songs, intros, sample files etc.
Main movie is loaded once but all other small movies are loaded at
runtime.
For more information on LoadMovie/UnloadMovie
see tutorial (LoadMovie/UnloadMovie and Levels)
___________________________________________________________________


All rights reserved - swish-db.com