From 9f939336d895f8c787f497026d2c1c9af8718a2f Mon Sep 17 00:00:00 2001 From: moly <0700689@live.abertay.ac.uk> Date: Sat, 15 Sep 2012 18:58:20 +0100 Subject: [PATCH] fixed #11, #61, AdamAtomic/flixel#170, AdamAtomic/flixel#221 AutoDestroy parameter in FlxSound loadEmbedded and loadStream does nothing --- org/flixel/FlxSound.as | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org/flixel/FlxSound.as b/org/flixel/FlxSound.as index 2c9b3675..19dbc4aa 100644 --- a/org/flixel/FlxSound.as +++ b/org/flixel/FlxSound.as @@ -257,6 +257,7 @@ package org.flixel _sound = new EmbeddedSound(); //NOTE: can't pull ID3 info from embedded sound currently _looped = Looped; + autoDestroy = AutoDestroy; updateTransform(); exists = true; return this; @@ -279,6 +280,7 @@ package org.flixel _sound.addEventListener(Event.ID3, gotID3); _sound.load(new URLRequest(SoundURL)); _looped = Looped; + autoDestroy = AutoDestroy; updateTransform(); exists = true; return this;