Salve a tutti,
ho questo codice ActionScript:
Non mi viene visualizzato nč l'artista nč il titolo, č un problema di codice AS? Come posso risolvere?codice:fscommand("allowscale", "false"); dd = new Sound(); dd.loadSound("http://radio.rootworld.net:8000/;stream.nsv", true); xx = bar._width; orginal_width = bar._width; _root.soundbtndis._visible = false; _root.soundbtndis.disabled = true; this.onEnterFrame = function() { t1 = int(dd.duration/1000/60); t1 = t1+" : "+int((dd.duration/1000-(t1*60))); ddf = int((dd.duration-dd.position)/1000/60); elapsed_sec = int((((dd.duration-dd.position)/1000/60)-ddf)*60); if (elapsed_sec<10) { elapsed_sec = "0"+elapsed_sec; } if (ddf<10) { ddf = "0"+ddf; } if (_root.stpd) { elapsed = _root.t1; } else { elapsed = ddf+" : "+elapsed_sec; } //mo=dd.position/1000 //elapsed = vol = dd.getVolume()+" %"; dur = dd.duration; pos = dd.position; per = (pos/dur)*100; m = (pos/dur)*100; bar._width = (m*xx)/100; drag._x = _root.bar._width+_root.bar._x; //drag._y = 136; if (stpd) { xx = 0; } else { xx = orginal_width; } // function keys if (Key.isDown(83)) { pauseit(); } if (Key.isDown(80)) { playit(); } if (Key.isDown(83)) { stopit(); } //************************************** }; _root.shorba.art = "Artist :"+dd.id3.artist; _root.shorba.song = "Title :"+dd.id3.songname; _root.shorba.setMask(_root.loo7); _root.information.setMask(_root.infomask);
Grazie,
S.

Rispondi quotando