[ascoders] Re: Sound.loadSound()

ok, fürchte der substring war falsch. s. as

// as
stream = new Sound;
getStream = function(id)
{
        target = id.substr(1, id.length);
        file = "song" + target + ".mp3";
        stream.loadSound(file, true);
}

// g1 is present on stage
g1.onMouseUp = function()
{
        getStream(this._name);
};

gruss,
micha



MN www.michaelnisi.com
_@xxxxxxxxxxxxxxx


------------------------------------------------------
Archiv   : http://www.freelists.org/archives/ascoders/
Optionen : http://www.freelists.org/list/ascoders
------------------------------------------------------

Other related posts: