# Code error - All help needed´!

**URL:** <https://forum.kirupa.com/t/code-error-all-help-needed/117513>\
**Category:** Uncategorized\
**Created:** [July 28, 2004, 1:32am UTC](https://forum.kirupa.com/t/code-error-all-help-needed/117513 "2004-07-28T01:32:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abraxas](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@abraxas](https://forum.kirupa.com/u/abraxas)\
**Post date:** [July 28, 2004, 1:32am UTC](https://forum.kirupa.com/t/code-error-all-help-needed/117513/1 "2004-07-28T01:32:29Z")

</div>

Ok… this is the END of the code (its not really mine…):

this.createEmptyMovieClip(“pos”, total);  
pos.moveTo(radius.b, 0);  
pos.beginGradientFill(“radial”, [0xCCCCCC, 0x999999], [100, 100], [0, 255], {matrixType:“box”, x:-radius.b-radius.b/2, y:-radius.b-radius.b/2, w:radius.b_2, h:radius.b_2, r:0});  
for (var radians = 0; radians

I get a error for the last line. The error is this:

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 11: ‘;’ expected  
for (var radians = 0; radians

I cant get it working… ☹  
HELP!!!

I have flash mx 2004 pro… that can be the problem, but can someone change it so it will work for my version if that is the problem ? 🙂

---

<div class="post-metadata">

**Author:** ![ratbaggy](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@ratbaggy](https://forum.kirupa.com/u/ratbaggy)\
**Post date:** [July 28, 2004, 1:40am UTC](https://forum.kirupa.com/t/code-error-all-help-needed/117513/2 "2004-07-28T01:40:28Z")

</div>

well…the for statement hasn’t been ended properly

---

<div class="post-metadata">

**Author:** ![McGiver](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@McGiver](https://forum.kirupa.com/u/McGiver)\
**Post date:** [July 28, 2004, 1:45am UTC](https://forum.kirupa.com/t/code-error-all-help-needed/117513/3 "2004-07-28T01:45:25Z")

</div>

normally a for statement looks like i.e.:

for(var abc=0;abc\<100;abc++){  
//some code here  
}

so I guess this was probably not the end of the code.

you can try to remove this half “for” term at the end of the code and look if it somehow works without it.

Or you can ask the person you got that code from for a working version
