# Comments for action script

**URL:** <https://forum.kirupa.com/t/comments-for-action-script/121706>\
**Category:** Uncategorized\
**Created:** [September 6, 2004, 1:15am UTC](https://forum.kirupa.com/t/comments-for-action-script/121706 "2004-09-06T01:15:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xavier](https://avatars.discourse-cdn.com/v4/letter/x/2bfe46/32.png) [@Xavier](https://forum.kirupa.com/u/Xavier)\
**Post date:** [September 6, 2004, 1:15am UTC](https://forum.kirupa.com/t/comments-for-action-script/121706/1 "2004-09-06T01:15:15Z")

</div>

halo guys… can help me with the comments below?

> 

onClipEvent (load) {  
initialRotation = 0;  
// comment1  
for(i=0;i\<10;i++) {  
// comment2  
\_root.attachMovie(“sample”,“sample”+i,i);  
// comment3  
\_root[“sample”+i].\_x = i\*37;  
\_root[“sample”+i].\_y = 100;  
// comment4  
\_root[“sample”+i].\_rotation = initialRotation;  
initialRotation += 15;  
}  
}  
onClipEvent (enterFrame) {  
// comment5  
for(i=0;i\<10;i+=2) {  
// comment6  
\_root[“sample”+i].\_rotation += 5;  
// comment7  
\_root[“sample”+(i+1)].\_rotation -= 5;  
}  
}[QUOTE][/QUOTE]
