Re: [Flashcoders] Linked sounds in library have to be in root SWF? AS2
Cheers Rich, I had to get this project finished for a deadline so I've gone through and converted my aifs to mp3s and am loading these in at the start. Thanks for your reply though, I'll remember this next time (or maybe try and use all external resources so everyhthing is more flexible). Cheers tho :) Ali On 12 May 2008, at 19:45, Rich Shupe wrote: Alistair, From what I can gather from your email, try this. When you are creating your sound instances, add "this" to the constructor. = new Sound(this); That will specify that the sound comes from the loaded file. Rich http://www.LearningActionScript3.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Linked sounds in library have to be in root SWF? AS2
Alistair, >From what I can gather from your email, try this. When you are creating your sound instances, add "this" to the constructor. = new Sound(this); That will specify that the sound comes from the loaded file. Rich http://www.LearningActionScript3.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Linked sounds in library have to be in root SWF? AS2
Hi there thanks for reading my post. I've been working on a project that has a bunch of sounds in the library that have linkage identifiers. I have classes that target these sounds and these are instantiated in the main movie clip. Now I have made a loader for the main movie clip the sounds don't play :( The only way I can get them to work is to rewrite how I load my sounds (externally or streaming) or to put them into the loader.swf's library (which kind of defeats the point of a loader if it is 500k :P) I'm guessing there is an easy way around this. Does anyone know of one? Thanks for your assistance in advance :) Ali ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders