Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Flash animations.

Bandwidth considerations.

4:42 am on Sep 28, 2009 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Feb 25, 2004
votes: 45

I've created some cartoon-type Flash animations. They're fun to look at but not all of my site visitors will be interested in viewing them. I will incorporate these animations into existing pages (I hope people will link to them). I am trying to avoid a situation where my pages' load times are severely affected by the presence of these animations.

I created one .swf file (Flash 5) as the loading Flash file. It's about 3KB in size. It presents a button "Click to start." If the person clicks that button a "Load Movie" action is triggered that loads and then plays the actual animation .swf file (300KB in size).

Am I right in thinking the following? :

1) When my html page loads only the small loading file (3kb) is drawn from my server? (Thus giving the page a quicker load time and saving me 300KB of server bandwidth if the visitor doesn't want to see the animation.)

2) At the end of the 300KB file I put a replay button, which "GoTo"'s back to the first frame of the 300KB file so the user can see the animation again. Am I right in thinking that the 300KB file is already cached by the user's browser on their hard drive and therefore than no more bandwidth is drawn from my server on their replay?

3) In regards to the replay question, the music associated with the 300KB animation is "streaming." I didn't know if that affects the way the 300KB file is cached by the browser in regards to being available for replaying.