Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any flash people?
#1
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...aplewatch/ 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:
Quote: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.
Quote: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.
Reply
#2
DitOwnsYou Wrote: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.

I've never programmed in Flash, but it would make sense that if you change the base directory ("http://maplestory.nexon.co.jp/mapleplaza/blogparts/maplewatch/") into a folder-name (e.g. "C:/Documents and Settings/[Username]/My Documents/My Music/MapleFlash/") and then change the filenames in the array.
Reply
#3
I just realized I can't directly edit the ActionScript (Flash script) without extracting all the contents, in which I have no idea how to put it all back together anyway.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)