;

PDA

Click to See Complete Forum and Search --> : FLVComponent too big


simon_spoken
05-31-2007, 11:44 AM
Hi,

I'm working on something at the moment, and the filesize must be under 30kb.

I've found that as soon as I add an FLVComponent to the library, the filesize of the exported flash movie jumps from 9kb to 60kb!

The .flv file already exists on my webserver.

Is there another way of getting video into Flash, but without the massive overhead?

Thanks,

Simon

rdoyle720
05-31-2007, 01:01 PM
Depends on whether you need to control the video playback or not. If not, you can use a simple Video object. If yes, then you either need to create your own controls or find another component that's more friendly with file size.

simon_spoken
05-31-2007, 05:58 PM
Ah excellent. I don't need to control playback at all. The video starts playing when the flash movie begins, and then when the movie stops the last frame is used as the background.

I think I looked at the Video object, but from what I remember it still wasn't small enough...

rdoyle720
06-01-2007, 09:58 AM
A .swf file with only a video object on the stage is less than 1KB, so I think you'd be set.

simon_spoken
06-01-2007, 10:03 AM
Thanks. It worked fine. Managed to get the file down to 15kb.

Much appreciated. :)