# Need help... AS conversion from Flash5 to Flash 8 AS

**URL:** <https://forum.kirupa.com/t/need-help-as-conversion-from-flash5-to-flash-8-as/227209>\
**Category:** Uncategorized\
**Created:** [May 28, 2007, 3:07pm UTC](https://forum.kirupa.com/t/need-help-as-conversion-from-flash5-to-flash-8-as/227209 "2007-05-28T15:07:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mixeeplikstick](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@mixeeplikstick](https://forum.kirupa.com/u/mixeeplikstick)\
**Post date:** [May 28, 2007, 3:07pm UTC](https://forum.kirupa.com/t/need-help-as-conversion-from-flash5-to-flash-8-as/227209/1 "2007-05-28T15:07:03Z")

</div>

hi guys…

for the past days, i was trying to figure out how to convert the action script from a Flash 5 .fla file to a Flash 8.

i’ve tried changing the publish settings to default Flash 8 from Flash 5 settings but all i receive from the output were numerous error messages… obviously Flash 8 was rejecting most syntaxes in the Flash 5 AS.

most error messages points to variables with “/:” before it…

example this is on the Flash 5 .fla file  
Quote:  
if (eval("/:text" add d) gt eval("/:text" add (d+1))) {  
// perform swap:  
temp = eval("/:text" add d);  
set("/:text" add d, eval("/:text" add (d+1)));  
set("/:text" add (d+1), temp);  
temp = eval("/:link" add d);  
set("/:link" add d, eval("/:link" add (d+1)));  
set("/:link" add (d+1), temp);  
}   
also… can someone guide me if why these statements are wrong?:puzzled:  
Quote:  
**Error** Scene=Scene 1, layer=scripts, frame=2:Line 5: ‘)’ or ‘,’ expected  
while (length (eval(“link” add n))\>1) {

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 31: ‘)’ or ‘,’ expected  
if (eval("/:text" add d) gt eval("/:text" add (d+1))) {   
thankz in advance!:beam:
