A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Simple TextArea.text not working.... ??!!!

  1. #1
    Bin Laden And Co.
    Join Date
    May 2000

    Simple TextArea.text not working.... ??!!!

    Hey guys, ive written algorithm to convert a randomly generated number to a binary number then display it in a text area inside the movie clip ive added this algorithm to. This happens every 5 frames of the movie clip. Sounds simple but for some reason the text area is not being modified. Im doing a trace and the binary is being generated, so it all works but the text area is not displaying this binary, any help??!!

    hold is initially set to 0 and holdnext is 5.

    Im using FlashMX btw..


    if(hold == holdnext){
    var div = -1;
    var div2 = -1;
    hold2 = new Array(100);
    num = Math.random();
    num = Math.round(num * 1000000000000000);
    word = "";

    while(div != 0){
    div = Math.floor(num / 2);
    div2 = num - (div * 2);
    word = word.concat(div2);
    num = div;

    myText.text = word;
    holdnext += 5;



    Thanks in advance....
    Last edited by ThE_MaSTeR; 08-01-2004 at 09:59 AM.

  2. #2
    proud new daddy! LuxFX's Avatar
    Join Date
    May 2000
    try making sure that "myText" is not the variable name, but the instance name of your textfield
    For War's a banker, flesh his gold. There by the furnace of Troy's field, Where thrust meets thrust, he sits to hold His scale, and watch the spear-point sway; And back to waiting homes he sends Slag from the ore, a little dust To drain hot tears from hearts of friends

    - Aeschylus, Agamemnon

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