hey
im having some problems with a project im working on, im quite fresh when it comes to flash.
what i want is this; there will be a movie clip playing, random pictures on a loop.
underneath the movie clip i got a button, when this button is pressed or down the movie clip disapears and a random quote will appear in the textbox above the space of the movie clip.
ive managed to get the movie clip going and disappearing when the button is on the down state, but i cant get it to give me random quotes. at the moment i got the quotes in a text file…
this is the script im using on the button:
on (release) {
loadText = new LoadVars();
loadText.load(“qoutes.txt”);
loadText.onLoad = function(success) {
if (success) {
// trace(success);
qouteBox.html = true;
qouteBox.htmlText = this.myNews;
}
};
}
if anyone knows how to re-write this one so i can just make a huge list with identifiers/myNews’s so that they would appear randomly that would be ace.
cheers
Dan