Re: [Flashcoders] >> While and Var

2006-03-21 Thread Roman Blöth
Laurent CUCHET schrieb: 1) I create dynamic textfield with while option I try to create dynamic border and content without success / var dtd; var spa; var spa1; var dt = 0; while (dt<=99) { dtd = "var"+dt; spa = dt*5; spa1 = (dt*15)+45; _root.crea

Re: [Flashcoders] >> While and Var

2006-03-21 Thread Arul Prasad
Dunno why I copy pasted 2 times! The only changes were in the three lines where I replaced dtd with _root[dtd] You could use _root. dtd as well. Of course you will have to optimize the code. var dtd; var spa; var spa1; var _txt:TextField; var dt = 0; while (dt<=99) { dtd = "var"+dt; spa

RE: [Flashcoders] >> While and Var

2006-03-21 Thread Adrian Lynch
29 To: Flashcoders mailing list Subject: [Flashcoders] >> While and Var Good morning, 1) I create dynamic textfield with while option I try to create dynamic border and content without success Have you got a tips to done it Thank you / var dtd; var spa; var spa

Re: [Flashcoders] >> While and Var

2006-03-21 Thread Arul Prasad
var dtd; var spa; var spa1; var dt = 0; while (dt<=99) { dtd = "var"+dt; spa = dt*5; spa1 = (dt*15)+45; _root.createTextField(dtd, dt, 0, spa1, 100, 15); _root[dtd].text=spa1; _root[dtd].border=true; _root[dtd].selectable=false; dt++; } note: var dtd; var spa; var spa1; var

Re: [Flashcoders] >> While and Var

2006-03-21 Thread Janis Radins
createTextField() returns refference to textfield object only since flash 8 2006/3/21, Arul Prasad <[EMAIL PROTECTED]>: > > var dtd; > var spa; > var spa1; > var dt = 0; > while (dt<=99) { >dtd = "var"+dt; >spa = dt*5; >spa1 = (dt*15)+45; >_root.createTextField(dtd, dt, 0, spa1, 10

[Flashcoders] >> While and Var

2006-03-21 Thread Laurent CUCHET
Good morning, 1) I create dynamic textfield with while option I try to create dynamic border and content without success Have you got a tips to done it Thank you / var dtd; var spa; var spa1; var dt = 0; while (dt<=99) { dtd = "var"+dt; spa = dt*5;