Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

49 users online



Director, displaying random word from list

Director, displaying random word from list

Currently viewing this thread: 1 (0 members and 1 guests)


wishy_wand

wishy_wand

Neverside Newbie
Status: Offline!

Director, displaying random word from list

hi i'm using Director program and want to display just one word randomly from a list that i have created. the problem here is it repeats all the words in the list, instead of just displaying one only. smething is wrong with my code for the "random(4)" hope someone can help Smile

wordList= list("Brillant!", "Fantastic", "Awesome!", "Way to Go!")

-- display a random word from the list
set countlist= random(4)

--gets the word and displays in the field
put getAt(wordlist, countlist)into member("text")

___________________

You think you know, But you got no idea

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0059 seconds.