Optimising

Hi,

i am loading movies which are 800x600, would there be any perfomance gain if i made these these movies say 320×240 and then scaled them to 800x600 once loaded?

cheers.
G

No there would not, in fact technically you’d lose performance during the resize, assuming the only contents of that swf were vector, and not bitmap… although it’d be unnoticable (unless there were extreme amounts of activity).

Flash doesn’t work the way that bitmaps do. Flash is a vector program so for instance let’s say you have a square that is 320x240… in a bitmap that would mean you’d have information for every pixel which means you’d have 320*240… which is gets calculator… 76800 pieces of information relating to each pixel… whereas with vector data you have only… the width, the height and any styling, positioning values. The Flash Player will take these values and draw the object to the screen mathematically.

Now as a disclaimer, this is a very very very very under explained example, and only here to get the point across… not to educate on bitmaps and how they are implemented by computers :stuck_out_tongue:

Take Care
_Michael