Hi ajok,
Thanks for replying but i’m not too sure what you mean, I’m using paths. my button script is
on (release) {
set (“new”, 1);
if (Number(eval(“new”))<Number(count)) {
actual = eval(“new”);
playing = true;
tellTarget (“c_sound”) {
gotoAndPlay (2);
}
tellTarget (“stop_b”) {
gotoAndStop (1);
}
}
}
and my frame script is
path = “”;
songs = “TRACK1,TRACK2,TRACK3,TRACK4,TRACK5,TRACK6,TRACK7,TRACK8,TRACK9,”;
artists = “SISQO,DESTINYS CHILD,SHAGGY,DESTINYS CHILD,ALI G,DESTINYS CHILD,DESTINYS CHILD,SISQO”;
titles = “THONG SONG,SURVIVOR,IT WASN’T ME,HEY LADIES,RIDE THE PUNANI,SAY MY NAME,BATTLE,THONG SON REMIX”;
sizes = “4.18 Ks,7.43 Ks,44.5 Ks,11.7 Ks,16.2 Ks,8.2 Ks,22.9 Ks,12.7 Ks”;
total = 8;
playing = false;
actual = 1;
tmp = “”;
char = “”;
count = 1;
i = 1;
while (Number(i)<=Number(Number(length(songs))+1)) {
char = substring(songs, i, 1);
if ((char eq “,”) or (Number(i) == Number(Number(length(songs))+1))) {
set (“loaded” add count, false);
set (“song” add count, tmp);
tmp = “”;
count = Number(count)+1;
} else {
if (char eq " ") {
tmp = tmp add “%20”;
} else {
tmp = tmp add char;
}
}
i = Number(i)+1;
}
tmp = “”;
char = “”;
count = 1;
i = 1;
while (Number(i)<=Number(Number(length(artists))+1)) {
char = substring(artists, i, 1);
if ((char eq “,”) or (Number(i) == Number(Number(length(artists))+1))) {
set (“artist” add count, tmp);
tmp = “”;
count = Number(count)+1;
} else {
tmp = tmp add char;
}
i = Number(i)+1;
}
tmp = “”;
char = “”;
count = 1;
i = 1;
while (Number(i)<=Number(Number(length(titles))+1)) {
char = substring(titles, i, 1);
if ((char eq “,”) or (Number(i) == Number(Number(length(titles))+1))) {
set (“title” add count, tmp);
tmp = “”;
count = Number(count)+1;
} else {
tmp = tmp add char;
}
i = Number(i)+1;
}
tmp = “”;
char = “”;
count = 1;
i = 1;
while (Number(i)<=Number(Number(length(sizes))+1)) {
char = substring(sizes, i, 1);
if ((char eq “,”) or (Number(i) == Number(Number(length(sizes))+1))) {
set (“size” add count, tmp);
tmp = “”;
count = Number(count)+1;
} else {
tmp = tmp add char;
}
i = Number(i)+1;
}
titulo = title1;
artist = artist1;