Copy link to clipboard
Copied
Hello,
We've just added intro sound effects to our mobile app near release, and noticed that the sound effects start playing before the visuals are displayed. We've tried putting the sound effects in an added to stage event, a resize event, and in an orientation change event, but in all three cases the sound effects start before the graphics appear. I am out of ideas and can't find any results online.
We'd like to avoid using a "tap screen to begin" opening graphic as a workaround if possible. Thanks for any tips!
Copy link to clipboard
Copied
If you add things to a displayList by code, maybe you can try listening for Event.ADDED on the displayObjects being added. And after everything you need is loaded, load the sound effect. Not sure if this works for you though. Hope it helps
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/Event.html#ADDED
Copy link to clipboard
Copied
As I said, we already tried the ADDED_TO_STAGE event and it didn't work. I hadn't tried just ADDED, but I tried it now and it also doesn't work. Thanks for the suggestion though.