Closed
Description
Issue by mrnerdman from 2013-07-08T21:39:29Z
Originally opened as AdamAtomic#238
This is my create()
function for my intro state, where I want to play a little ditty:
[Embed(source="../lib/intro.mp3")]
public var musicIntro:Class;
override public function create():void {
//...insert irrelevant stuff here
FlxG.play(musicIntro);
super.create();
}
However, the sound only plays if I unfocus from the game(where the game dims and there's a big play button), then focus again.
Please help.