# Dynamic textfield variable

**URL:** <https://forum.kirupa.com/t/dynamic-textfield-variable/73575>\
**Category:** flash\
**Created:** [December 17, 2004, 8:56pm UTC](https://forum.kirupa.com/t/dynamic-textfield-variable/73575 "2004-12-17T20:56:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tyler](https://avatars.discourse-cdn.com/v4/letter/t/35a633/32.png) [@Tyler](https://forum.kirupa.com/u/Tyler)\
**Post date:** [December 17, 2004, 8:56pm UTC](https://forum.kirupa.com/t/dynamic-textfield-variable/73575/1 "2004-12-17T20:56:00Z")

</div>

Hi everybody,  
When i run this lines of code i have a error on line 6 which is the last line of code.  
Am sure am making a stupid syntax error or something. HELP!

portfolio=[“Posters”,“Flyers”,“Brochures”,“Banners”];

for(i=0;i\<=portfolio.length();i++){  
\_root.createTextField(portfolio\*,10+i,100,100+10_i,200,50);  
portfolio_.variable=portfolio\*+“v”;  
portfolio\*+“v”=portfolio\*;  
}

Tyler
