home *** CD-ROM | disk | FTP | other *** search
- if(_root.soundfile != undefined)
- {
- _root.soundFile = _root.soundfile;
- }
- var options = new Object();
- if(_root.playerID != undefined)
- {
- options.playerID = _root.playerID;
- }
- if(_root.demomode == "yes")
- {
- options.demomode = true;
- }
- else if(_root.demomode == "no")
- {
- options.demomode = false;
- }
- if(_root.autostart == "yes")
- {
- options.autostart = true;
- }
- else if(_root.autostart == "no")
- {
- options.autostart = false;
- }
- if(_root.animation == "no")
- {
- options.animation = false;
- }
- else if(_root.animation == "yes")
- {
- options.animation = true;
- }
- if(_root.loop == "yes")
- {
- options.loop = true;
- }
- else if(_root.loop == "no")
- {
- options.loop = false;
- }
- if(_root.encode == "yes")
- {
- options.encode = true;
- }
- else if(_root.encode == "no")
- {
- options.encode = false;
- }
- if(_root.remaining == "yes")
- {
- options.remaining = true;
- }
- else if(_root.remaining == "no")
- {
- options.remaining = false;
- }
- if(_root.noinfo == "yes")
- {
- options.noinfo = true;
- }
- else if(_root.noinfo == "no")
- {
- options.noinfo = false;
- }
- if(_root.killdownload == "yes")
- {
- options.killdownload = true;
- }
- else if(_root.killdownload == "no")
- {
- options.killdownload = false;
- }
- if(_root.checkpolicy == "yes")
- {
- options.checkpolicy = true;
- }
- else if(_root.checkpolicy == "no")
- {
- options.checkpolicy = false;
- }
- if(_root.rtl == "yes")
- {
- options.rtl = true;
- }
- else if(_root.rtl == "no")
- {
- options.rtl = false;
- }
- if(_root.initialvolume != undefined)
- {
- options.volume = _root.initialvolume;
- }
- if(_root.buffer != undefined)
- {
- options.bufferTime = _root.buffer;
- }
- if(_root.titles != undefined)
- {
- options.titles = _root.titles;
- }
- if(_root.artists != undefined)
- {
- options.artists = _root.artists;
- }
- Application.start(_root.soundFile,options);
-