# Help! actionscript 6 change to 8

**URL:** <https://forum.kirupa.com/t/help-actionscript-6-change-to-8/209743>\
**Category:** flash\
**Created:** [December 12, 2006, 2:29am UTC](https://forum.kirupa.com/t/help-actionscript-6-change-to-8/209743 "2006-12-12T02:29:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pestkwan](https://avatars.discourse-cdn.com/v4/letter/p/ce7236/32.png) [@pestkwan](https://forum.kirupa.com/u/pestkwan)\
**Post date:** [December 12, 2006, 2:29am UTC](https://forum.kirupa.com/t/help-actionscript-6-change-to-8/209743/1 "2006-12-12T02:29:58Z")

</div>

helo, anyone can help me to change this actionscript to read on actionscript 2 flash 8?

onClipEvent (enterFrame) {  
loading = \_parent.getBytesLoaded();  
total = \_parent.getBytesTotal();  
percent -= (percent-((loading/total)_100))_.25;  
per = int(percent);  
percentage = per+"%";  
loadBar.\_width = per;  
if (percent\>99) {  
\_parent.gotoAndStop(2);  
}  
}

the script only run on flash 6.

please give me a hand…i hav no idea… :jail:  
thanks
