Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-27-2010, 07:21 PM   PM User | #1
Zenaide
New to the CF scene

 
Join Date: May 2010
Location: Waikiki
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Zenaide is an unknown quantity at this point
Preload SWF sound files in HTML?

Aloha!

This is my first post, and I read the guidelines and did a search for this topic, but I found no results. So... Is there a way to preload an SWF file? On my website www.isleoftheancients.com, I have a short greeting (audio file) in several languages, depending on which international flag you click on. The files are in SWF format with a single white pixel in place at the bottom of my HTML code, so that it loads last.

The sound files are not finalized, as each of them will have background music scored for each language. If you click on the Hawaiian flag, the music starts right away because I didn't use Flash, I used a QuickTime .mov file that streams, giving me the effect I want. However, testing this on several friends' Windows machines, the QuickTime component isn't available, and they have to go to the QuickTime site and download and install the components. So this method isn't really effective.

Since Flash is much more universally installed, I wanted to know if it is possible to pre-load the SWF file so that when the page renders, the greeting/music plays instantly. Right now, there's a significant delay while the SWF file loads, so it gives the impression that there's no sound for the homepage.

Can anyone help me?

--Trevor
Zenaide is offline   Reply With Quote
Reply

Bookmarks

Tags
preload, sound, swf

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:53 AM.


Advertisement
Log in to turn off these ads.