[ascoders] Re: Sound.loadSound()

  • From: Michael Nisi <_@xxxxxxxxxxxxxxx>
  • To: ascoders@xxxxxxxxxxxxx
  • Date: Sun, 29 Jun 2003 12:14:40 +0200

hi kiko,

hm -- was du da mit id und target machen möchtest verstehe ich nicht.
hier trotzdem mal ein schnipsel.

hoffe es hilft,
micha


// as stream = new Sound();

setStream = function(id)
{
        file = "song" + id + ".mp3";
        stream.loadSound(id, true);
};

song.onLoad = function()
{
        this.start(0, 0);
};

setStream("1");



MN www.michaelnisi.com
_@xxxxxxxxxxxxxxx


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

Other related posts: