I am developing an adobe air mobile app and after I launch it, if I click the buttons right away, the sound does not play. If I wait a few seconds, the buttons function normally. How do I have a movie clip/splash screen show on top until all is loaded so I don’t have this problem? thanks for your help.
Share
Are your sounds embedded in the app or are you loading them at runtime? I assume embedded, but in that case it shouldn’t take time before they are available.
If loading sounds at runtime, just respond to Event.COMPLETE to hide your splash screen. Or use setTimeout with a suitable delay if you have no events to respond to: