xLeviathan
2008-07-30, 11:18 AM
I was just using a flash decompiler to change up this old flash player from the JMS website (it's outdated now), but I noticed it loads the sound file from a private directory on their website [http://maplestory.nexon.co.jp/mapleplaza/blogparts/maplewatch/ to be exact] and I need to change it because I would like to change the music.
Anywho, this is what I got so far:
my_sound = new Sound(this);
my_sound.loadSound("http://maplestory.nexon.co.jp/mapleplaza/blogparts/maplewatch/" + music[20], true);
my_sound.stop();
In case anyone is wondering, music[20] is loaded from a list of 30 mp3 files taken from the game, that I'm assuming are located in the private directory.
music = new Array();
music[0] = "AboveTheTreetops.mp3";
music[1] = "Aquarium.mp3";
music[2] = "BadGuys.mp3";
music[3] = "Beachway.mp3";
music[4] = "BlueWorld.mp3";
music[5] = "CalmVillage(cashshopBGM).mp3";
music[6] = "Come With Me.mp3";
music[7] = "Elfwoods.mp3";
music[8] = "EvilEyes.mp3";
music[9] = "Fairy Tale.mp3";
music[10] = "Fantasia.mp3";
music[11] = "FantasticThinking.mp3";
music[12] = "Floral Life.mp3";
music[13] = "Flying In A Blue Dream.mp3";
music[14] = "FunnyRabbit.mp3";
music[15] = "FunnyTimeMaker.mp3";
music[16] = "Go Picnic.mp3";
music[17] = "HighEnough.mp3";
music[18] = "JungleBook.mp3";
music[19] = "LetsHuntAliens.mp3";
music[20] = "MapleIsland.mp3";
Etc.
Is there any way to dynamically load an mp3 file from my PC, or does it have to be called from a web server directory?
Help is, as always, appreciated.
Anywho, this is what I got so far:
my_sound = new Sound(this);
my_sound.loadSound("http://maplestory.nexon.co.jp/mapleplaza/blogparts/maplewatch/" + music[20], true);
my_sound.stop();
In case anyone is wondering, music[20] is loaded from a list of 30 mp3 files taken from the game, that I'm assuming are located in the private directory.
music = new Array();
music[0] = "AboveTheTreetops.mp3";
music[1] = "Aquarium.mp3";
music[2] = "BadGuys.mp3";
music[3] = "Beachway.mp3";
music[4] = "BlueWorld.mp3";
music[5] = "CalmVillage(cashshopBGM).mp3";
music[6] = "Come With Me.mp3";
music[7] = "Elfwoods.mp3";
music[8] = "EvilEyes.mp3";
music[9] = "Fairy Tale.mp3";
music[10] = "Fantasia.mp3";
music[11] = "FantasticThinking.mp3";
music[12] = "Floral Life.mp3";
music[13] = "Flying In A Blue Dream.mp3";
music[14] = "FunnyRabbit.mp3";
music[15] = "FunnyTimeMaker.mp3";
music[16] = "Go Picnic.mp3";
music[17] = "HighEnough.mp3";
music[18] = "JungleBook.mp3";
music[19] = "LetsHuntAliens.mp3";
music[20] = "MapleIsland.mp3";
Etc.
Is there any way to dynamically load an mp3 file from my PC, or does it have to be called from a web server directory?
Help is, as always, appreciated.