문제

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?

도움이 되었습니까?

해결책

  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/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top