A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: onSoundComplete problem.... i mean newbie problem

Hybrid View

  1. #1
    Junior Member
    Join Date
    Nov 2004
    Posts
    25

    onSoundComplete problem.... i mean newbie problem

    hello, I am loading external data from ASP with song info including mp3. Everything is working great but I would like to use onSoundComplete to reload ASP data for a new song..
    so when the songs done it plays a new one (or reload data from the ASP).
    -----------------
    function () {loadVariables ("flashplay.asp", this)};
    -----------------
    this line is not cut'n it, any ideas

    code:
    onClipEvent(data)
    {
    strArtist = Artist;
    strAlbum = Album;
    strSongnum = Songnum;
    strsongname = songname;
    strSong = Song;
    strSongTot = SongTot;
    stralbumid = albumid;
    stralbEnd = albEnd
    mySound = new Sound();
    mySound.loadSound(strSong,true);
    mySound.onSoundComplete = function () {loadVariables ("flashplay.asp", this)};
    }
    onClipEvent(load)
    {
    sn = 1;
    loadVariables ("flashplay.asp", this);
    }

    --------
    (o\_!_/o)

  2. #2
    Junior Member
    Join Date
    Nov 2004
    Posts
    25
    sorry I moved this post to the Sound forum
    http://flashkit.com/board/showthread...hreadid=617648
    --------
    (o\_!_/o)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center