I’ve posted this is in various places around the internet, and **nobody **seems willing / able to offer even the tinyest pieces of knowledge. I’m sure someone must know something, and I’d be exrtememly grateful for any extra light on the matter.
I have a game, which loads in sounds from the library. Each sound is present on the timeline for loading purposes. It is then dynamically added and played using its linkage ID. This works fine.
If you then put that swf into another swf, the sounds fail to play at all. Everything else plays as normal, but the sounds simply refuse to play.
I have had this same problem when using the standard method of:
[AS]
sound.attachSound( “linkageID” );
sound.start();
[/AS]
And also using PixLibs SoundFactoryManager Class:
[AS]
SoundFactoryManager.getInstance().addSound( “swamp_ambience” );
SoundFactoryManager.getInstance().addSound( “tropical_bird” );
SoundFactoryManager.getInstance().addSound( “monkeyCheek” );
SoundFactoryManager.getInstance().getSound( “swamp_ambience” ).start( 0, 20 );
[/AS]
Both methods work absolutely fine until the swf is contained in a parent swf. This is absolutely infuriating as I cannot think of a plausible explanation for it whatsoever.
I was inclined to think it might have something to do with “export for shared runtime library”, but from what I’ve read, this is completely unrelated.
Does anyone have any information / experience with this, it’s driving me quite, quite mad.
Cheers!