Sound FX Action - preload audio files

I am using the Sound FX action to trigger a sound on hover. The first time the user hovers over the item there’s a pause because the sound file doesn’t load at all until the user hovers over it. Once the sound has played once, it seems to remain in the computers cache and plays instantly each time after.

Is there a way to pre-load the sound files so that they’re cached before the user hovers over the item?

My example is: http://sly-design.co.uk/fc&bs/ if you hover over the cat, clock, guitar or bell, the sound will happen.

I had hoped that the FWPreload could do a similar job for the small .wav and .mp3 files?

function FWPreload()
{
FWLoad(“Resources/Grandfather-Clock-Anim-blank.gif”);
FWLoad(“Resources/Grandfather-Clock-Anim.gif”);
FWLoad(“Resources/guitar-anim-blank.gif”);

Thank you,

Simon.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Simon,

This was looked into when we first added the Action but there’s no harm in looking again. I’ll get it logged.

Joe

On 30 Nov 2010, at 09:26, Sly wrote:

I am using the Sound FX action to trigger a sound on hover. The first time the user hovers over the item there’s a pause because the sound file doesn’t load at all until the user hovers over it. Once the sound has played once, it seems to remain in the computers cache and plays instantly each time after.

Is there a way to pre-load the sound files so that they’re cached before the user hovers over the item?

My example is: http://sly-design.co.uk/fc&bs/ if you hover over the cat, clock, guitar or bell, the sound will happen.

I had hoped that the FWPreload could do a similar job for the small .wav and .mp3 files?

function FWPreload()
{
FWLoad(“Resources/Grandfather-Clock-Anim-blank.gif”);
FWLoad(“Resources/Grandfather-Clock-Anim.gif”);
FWLoad(“Resources/guitar-anim-blank.gif”);

Thank you,

Simon.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options