> I have a basic ynamic text box importing random quotes
> from an external .txt file. How can I get the quotes to
> display without repeating until all of the quotes have
> been viewed?
Least complicated way I can think of is to store your quotes
array, "shuffle" the array, then dole out your quotes one by
shuffled, you can move through your array in order, and the
quotes will of
course be random -- and you'll hit every last one.
So ... I'm not sure what you mean by a "basic" scenario. I
how your external text file is setup. You could put all your
one long string -- in other words, one name/value pair in
your external text
file -- and use the String.split() method to convert your
string into an
array. See the ActionScript Language Reference for details
... you could
use a rare character like pipe, |, to separate your quotes.
Once you have the array, you can use any of the popular
shuffling. Search the forum archives for kglad's shuffle
prototype or check
out my recent blog entry on Array.sort() ...