Skip to content

Commit 9f93933

Browse files
committed
fixed #11, #61, AdamAtomic#170, AdamAtomic#221 AutoDestroy parameter in FlxSound loadEmbedded and loadStream does nothing
1 parent dde536b commit 9f93933

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

org/flixel/FlxSound.as

+2
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ package org.flixel
257257
_sound = new EmbeddedSound();
258258
//NOTE: can't pull ID3 info from embedded sound currently
259259
_looped = Looped;
260+
autoDestroy = AutoDestroy;
260261
updateTransform();
261262
exists = true;
262263
return this;
@@ -279,6 +280,7 @@ package org.flixel
279280
_sound.addEventListener(Event.ID3, gotID3);
280281
_sound.load(new URLRequest(SoundURL));
281282
_looped = Looped;
283+
autoDestroy = AutoDestroy;
282284
updateTransform();
283285
exists = true;
284286
return this;

0 commit comments

Comments
 (0)