Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Streaming sound increases .swf size |
| From: | Ant-1 |
| Date: | Tue, 1 Jun 1999 10:54:35 +0100 |
Hi Troy !
Thanks for your explanations. Can you explain too the other possibilities of
sound sync and their effects ?
[Ant-1 ]
[La Nauze Multim�dia]
[ ant-1
----- Message d'origine -----
De : Troy M. Gilbert <tgilber
� : <flasher
Envoy� : mardi 1 juin 1999 07:30
Objet : Re: FLASH: Streaming sound increases .swf size
> >With one single sound set to stream, the .swf size was 132k
> >with the same sound set to start, the .swf size was 52k
> >
> >Anyone have an explanation?
>
> Sure do. Here goes (sorry if this gets too technical):
>
> With sounds set to "Start" (or anything other than "Stream"), the sound
> clip is stored only once in the SWF file. That's why you can set it to
> repeat hundreds of times, use it over and over in different places, etc.
> and only increase the file size by a few bytes here and there.
>
> Streaming sounds, on the other hand, are encoded along side each frame's
> visual data. For example, if you have a movie playing at 10 frames per
> second, then each frame has 1/10th of a second of audio attached to it
> (assuming there is audio playing at that point in the timeline). It
doesn't
> matter if that audio has been played hundred times before hand, it is
> stored in the file. This is how Flash ensures syncrhonization with the
> animation. More efficient methods exist, but this allows for a smaller
> player (its simpler).
>
> To put it in terms similar to Flash graphics: Start sounds are like
> symbols, you can reuse them all you want with negligible impact to the
file
> size. Stream sounds are similar to graphics that aren't converted to
> symbols, each time you use them they are stored byte-for-byte into the SWF
> file.
>
> Did I explain this good enough? If not, prod me with more questions and
> hopefully I can make it clear.
>
> Troy.
>
>
>
>
>
> ------------------------------------------------------------------------
> To UNSUBSCRIBE send: unsubscribe flasher in the body of an
> email to list-manager
> N.B. Email address must be the same as the one you used to subscribe.
> For info on digest mode send: info flasher to list-manager
>
>
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manager
Replies
Re: FLASH: Streaming sound increases .sw, Troy M. Gilbert
Replies
Re: FLASH: Streaming sound increases .sw, Troy M. Gilbert
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

