-
Notifications
You must be signed in to change notification settings - Fork 195
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels