A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: help me please

  1. #1
    Junior Member
    Join Date
    Oct 2010
    Posts
    2

    help me please

    hi all

    i want to make a 4 daynamic texts and 4 words in 4 variables like this

    word1 = "lion";
    word2 = "tiger";
    word3 = "cat";
    word4 = "bird";

    i need acode to make these words randomly injected to the four dynamic texts boxes with out repeated any word, how can i do that?

    i can only random one txt box only i cant do 4 :-

    words = new Array ("lion","tiger","cat","bird");
    randnum = random(3);
    _root.box = words[randnum];

    i need more 3 txt box , but the problem is the code will repeat the words with same names. any help please

  2. #2
    Carpe Diem - Moderator wolfgross's Avatar
    Join Date
    Apr 2001
    Location
    SWiSHzone
    Posts
    1,700

  3. #3
    Junior Member
    Join Date
    Oct 2010
    Posts
    2
    thanks wolf

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center