# Need to clean this up in order to have it work with flashplayer8

**URL:** <https://forum.kirupa.com/t/need-to-clean-this-up-in-order-to-have-it-work-with-flashplayer8/204136>\
**Category:** flash\
**Created:** [October 17, 2006, 1:02pm UTC](https://forum.kirupa.com/t/need-to-clean-this-up-in-order-to-have-it-work-with-flashplayer8/204136 "2006-10-17T13:02:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nova4](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@Nova4](https://forum.kirupa.com/u/Nova4)\
**Post date:** [October 17, 2006, 1:02pm UTC](https://forum.kirupa.com/t/need-to-clean-this-up-in-order-to-have-it-work-with-flashplayer8/204136/1 "2006-10-17T13:02:41Z")

</div>

Hi everyone, long time no see,  
I have this old code that i can’t use with flash player 8. I know it’s a syntax error, but I can’t figure out which one. I have two errors signaled, here is the code :

1 Pos = Number(Pos)+1;  
2 if (Number(Pos)\>Number(MsgLen)) {  
3 gotoAndPlay(1);  
4 }  
5 duplicateMovieClip(“LetterTemplate”, “Letter” add Pos, Pos);  
6 set(“Letter” add Pos add “/:MyPos”, Pos);  
7 set(“Letter” add Pos add “/Letter/:Char”, substring(Message, Pos, 1));  
8 setProperty(“Letter” add Pos, \_visible, Trus);

The error is on line 5, apparently i’m missing a ‘,’ or a ‘)’.

AND i have another error :

removeMovieClip("…/Letter" add MyPos);

and I’m still missing a ‘,’ or a ‘)’.

Can anyone help? I’m not used yet to the new syntax…  
And I bet it’s pretty simple!!!

Thanks in advance…
