# Adressing clip attributes

**URL:** <https://forum.kirupa.com/t/adressing-clip-attributes/178952>\
**Category:** Uncategorized\
**Created:** [February 15, 2006, 5:29pm UTC](https://forum.kirupa.com/t/adressing-clip-attributes/178952 "2006-02-15T17:29:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![simon12](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@simon12](https://forum.kirupa.com/u/simon12)\
**Post date:** [February 15, 2006, 5:29pm UTC](https://forum.kirupa.com/t/adressing-clip-attributes/178952/1 "2006-02-15T17:29:48Z")

</div>

my attached clips have text boxes in them (named: r).

how can i put data in these text boxes?  
i am new at flash,so i guess there is some problem with my addressing nethod…the code was written with barn`s help:te:

for (i=0; i\<\_root.g; i++) {  
target = \_root[“mc\_holder”+i];  
target.attachMovie(“card”, “card”+i, i);  
tar2 = target.card+i;  
[COLOR=“DeepSkyBlue”]trace(tar2);[/COLOR]  
[COLOR=“Red”]tar2.r.text = “something”;[/COLOR]  
}
