A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [Resolved] TextFields question

  1. #1
    Member
    Join Date
    Jan 2005
    Posts
    35

    TextFields question

    I have created several textfields on the stage using a loop they are all dynamic but i want to change them to inputFields how do i that?

    this is the code i used.
    text_width = 20;
    text_height = 20;
    numfields = 10;

    for(i = 0; i < numfields; i++){
    this.createTextFields("text"+i,i,60,20*i,text_widt h,text_height);
    this["text"+i].border = true;
    this["text"+i].text = "ok";
    format = new TextFormat();
    format.getTextFormat();
    format.setTextFormat(format);
    }

    pls help.....
    Last edited by flash_ee2; 02-19-2005 at 12:50 AM.
    Post no bills

  2. #2
    Member
    Join Date
    Jan 2005
    Posts
    35
    Never mind i found a way to do it. thanks
    Post no bills

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    No problem!

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