Frage

I recently took up a job creating a video ad banner to advertise on a major website, but they require that the swf uploaded is under 40kb in it's 'initial flash load'. This would be fine, except the video player itself is around 50kb, even though the actual video is loaded externally.

I've already optimised the ad as much as possible and got it to 86kb, so is there any way to reduce the file size further?

War es hilfreich?

Lösung

  1. any images make sure they are compressed as much as possible while looking acceptable
  2. textfields, dont embed all the font glyphs, embed only the characters you need
  3. any embedded audios, make sure they are compressed
  4. remove any libraries that are not used
  5. remove the UIComponent flv player which adds a lot of space and create it with code, this will save a ton of code for you

example: http://blog.martinlegris.com/2008/06/03/tutorial-playing-flv-video-in-plain-as3-part-1/

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top