I am an newbie flash programmer and need your help to interprent the following action script. This was supplied by one of the vendor to my company for playing audio mp3 files using a flash player. The mp3 source file name was supplied through the vars to the flash file. But the mp3 filename is encrypted while sending the source path information to flash file.

Vars are passed like this to the flash file
FlashVars="src=mp3/45825744120137F6E6E2D60733&enc=1&pl=1&sc=FFFFFF&bg c=------&bc=E00482

Now I want to use this player to run another file but since I don't know how this encrypt/dcrypt of mp3 filename is working. The mp3 file is parsed as encrypted (eg 45825744120137F6E6E2D60733 in the sample code below)

Please see the HTML code and action scripting


HTML Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="270"  height="100" style="padding-right:7px;" >  
                <param name="movie" value="player.swf"> 
                <param name="bgcolor" value="FFFFFF"> 
                <param name="FlashVars" value="src=mp3/45825744120137F6E6E2D60733&enc=1&pl=1&sc=FFFFFF&bgc=------&bc=E00482"> 
                <param name="autoplay" value="false"> 
                <embed  src="player.swf"  width="270"  height="100" bgcolor="FFFFFF"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="src=mp3/45825744120137F6E6E2D60733&enc=1&pl=1&sc=FFFFFF&bgc=------&bc=E00482"> </embed>
          </object>

Code:
//Action tag #0

function trackEvent(evt, parm)
{
    loadVariables(trk + "&mp3=" + sndPath + "&e=" + evt + "&t=" + Math.round(s.position / 1000), _level0, "GET");
}
function setSoundURL()
{
    if (URLisSet) 
    {
        return;
    }
    URLisSet = true;
    s.loadSound(sndPath, true);
}
function parseParams()
{
    src = src.split("/");
    params = src[src.length - 1];
    fileNameLength = params.charAt(1) + params.charAt(0);
    fileName = params.substr(2, fileNameLength * 2);
    if (enc == 1) 
    {
        fileName = unMixFile(fileName);
    }
    else 
    {
        fileName = params.substr(2, fileNameLength);
    }
    src[src.length - 1] = fileName;
    sndPath = src.join("/");
}
function unMixFile(fileName)
{
    var __reg2 = fileName;
    var __reg3 = "";
    var __reg1 = 0;
    while (__reg1 < __reg2.length) 
    {
        twoChars = __reg2.substr(__reg1, 2);
        twoChars = twoChars.charAt(1) + twoChars.charAt(0);
        __reg3 = __reg3 + String.fromCharCode("0x" + twoChars);
        __reg1 = __reg1 + 2;
    }
    return __reg3;
    alert ("hello'");
}