diff --git a/source/mikolka/vslice/components/FunkinSoundTray.hx b/source/mikolka/vslice/components/FunkinSoundTray.hx index 9a87e54d..1838193d 100755 --- a/source/mikolka/vslice/components/FunkinSoundTray.hx +++ b/source/mikolka/vslice/components/FunkinSoundTray.hx @@ -31,7 +31,7 @@ class FunkinSoundTray extends FlxSoundTray super(); removeChildren(); - var bg:Bitmap = new Bitmap(Assets.getBitmapData(Paths.getPath("images/soundtray/volumebox.png"))); + var bg:Bitmap = new Bitmap(Assets.getBitmapData(Paths.getPath("images/soundtray/volumebox.png", true))); bg.scaleX = graphicScale; bg.scaleY = graphicScale; addChild(bg); @@ -40,7 +40,7 @@ class FunkinSoundTray extends FlxSoundTray visible = false; // makes an alpha'd version of all the bars (bar_10.png) - var backingBar:Bitmap = new Bitmap(Assets.getBitmapData(Paths.getPath("images/soundtray/bars_10.png"))); + var backingBar:Bitmap = new Bitmap(Assets.getBitmapData(Paths.getPath("images/soundtray/bars_10.png", true))); backingBar.x = 9; backingBar.y = 5; backingBar.scaleX = graphicScale; @@ -56,7 +56,7 @@ class FunkinSoundTray extends FlxSoundTray // we are trying to get assets bars_1-10 for (i in 1...11) { - var bar:Bitmap = new Bitmap(Assets.getBitmapData(Paths.getPath("images/soundtray/bars_" + i+".png"))); + var bar:Bitmap = new Bitmap(Assets.getBitmapData(Paths.getPath("images/soundtray/bars_" + i+".png", true))); bar.x = 9; bar.y = 5; bar.scaleX = graphicScale; @@ -68,9 +68,9 @@ class FunkinSoundTray extends FlxSoundTray y = -height; screenCenter(); - volumeUpSound = Paths.getPath("sounds/soundtray/Volup.ogg"); - volumeDownSound = Paths.getPath("sounds/soundtray/Voldown.ogg"); - volumeMaxSound = Paths.getPath("sounds/soundtray/VolMAX.ogg"); + volumeUpSound = Paths.getPath("sounds/soundtray/Volup.ogg", true); + volumeDownSound = Paths.getPath("sounds/soundtray/Voldown.ogg", true); + volumeMaxSound = Paths.getPath("sounds/soundtray/VolMAX.ogg", true); trace("Custom tray added!"); }