random swf display
random swf display
Out of context: Reply #5
- Started
- Last post
- 6 Responses
- donal0
something like this
function loadinswf () {
var pickPicture = movies.Rnd();
loadMovie ("folderwithmovies/"+"movie"+(6... _root.body);and to make sure you dont get the smae one twice;
Number.prototype.Rnd = function () { var num = this;var newRnd = Math.round(Math.random()*(num-1... (newRnd == this.Rnd.old) {newRnd = Math.round(Math.random()*(num-1... (this.Rnd.old=newRnd);};
i didn't write this and the guy who did isn't in today so don't ask me to elaborate!