A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: FLVComponent too big

  1. #1
    Junior Member
    Join Date
    May 2007
    Posts
    4

    FLVComponent too big

    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

  2. #2
    Senior Member
    Join Date
    Apr 2002
    Posts
    2,849
    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.

  3. #3
    Junior Member
    Join Date
    May 2007
    Posts
    4
    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...

  4. #4
    Senior Member
    Join Date
    Apr 2002
    Posts
    2,849
    A .swf file with only a video object on the stage is less than 1KB, so I think you'd be set.

  5. #5
    Junior Member
    Join Date
    May 2007
    Posts
    4
    Thanks. It worked fine. Managed to get the file down to 15kb.

    Much appreciated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center