home *** CD-ROM | disk | FTP | other *** search
/ Hentai Interactivo 14 / HENTAI_14.BIN / imgs.swf / scripts / DefineSprite_36 / frame_5 / DoAction.as
Text File  |  2006-11-13  |  607b  |  23 lines

  1. function songInfoContent(inTitle, inArtist, inPath)
  2. {
  3.    this.title = inTitle;
  4.    this.artist = inArtist;
  5.    this.path = inPath;
  6.    return this;
  7. }
  8. function playList()
  9. {
  10.    Length = songs.firstChild.childNodes.length;
  11.    _parent.songInfo.content = new Array();
  12.    i = 0;
  13.    while(i < Length)
  14.    {
  15.       _parent.songInfo.content[i] = new songInfoContent(songs.firstChild.childNodes[i].attributes.title,songs.firstChild.childNodes[i].attributes.artist,songs.firstChild.childNodes[i].attributes.path);
  16.       i++;
  17.    }
  18. }
  19. _parent.songInfo = new Object();
  20. playList();
  21. _parent.play();
  22. stop();
  23.