Aha. That'd be the ticket. Thanks very much, Glen.

ja
http://vispo.com ----- Original Message ----- From: "Glen Pike" <[email protected]>
To: "Flash Coders List" <[email protected]>
Sent: Thursday, April 29, 2010 4:35 AM
Subject: Re: [Flashcoders] libraries of wav files?


Hi,

You could compile the wav files into SWF's that you load as runtime libraries - then you could still instanciate your sounds the same way as Kenneth said.

You have to use a Loader class load the external SWF in and wait for the Loader's INIT event before accessing library items. You may also have to set the Loader's application domain to the same as your application in order to instanciate the sounds:

    Search for "runtime library" in flash.

    Glen

On 29/04/2010 12:25, Jim Andrews wrote:
Sorry. I should have been more specific. What I'd like to do is create an external file that contains a bunch of wav files. Perhaps a bunch of such such groups of wav files. And then, at run-time, the user may select one of those groups of wav files. And then the program should download that particular file.

Is that sort of thing supported in Flash?

In Director, such groups of wav files (and/or other media) can be stored in .cst files and downloaded at run-time.

ja
http://vispo.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to