# Script not working in Flash 8 or above

**URL:** <https://forum.kirupa.com/t/script-not-working-in-flash-8-or-above/287801>\
**Category:** Uncategorized\
**Created:** [May 6, 2009, 1:04pm UTC](https://forum.kirupa.com/t/script-not-working-in-flash-8-or-above/287801 "2009-05-06T13:04:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yachtpicasso](https://avatars.discourse-cdn.com/v4/letter/y/f08c70/32.png) [@yachtpicasso](https://forum.kirupa.com/u/yachtpicasso)\
**Post date:** [May 6, 2009, 1:04pm UTC](https://forum.kirupa.com/t/script-not-working-in-flash-8-or-above/287801/1 "2009-05-06T13:04:54Z")

</div>

Hey guys,

prefacing the fact that i am a total noob… why wont thins srcipt work in flash 8 or above?

var frameTime = 3;  
for (var i = 1; i\<=5; i++) {  
this.pointMc[“p”+i].\_visible = 0;  
}  
this.pointMc.onEnterFrame = function() {  
if (timer++%frameTime == 0) {  
mc = this.duplicateMovieClip(“pointMc”+i, 999+i++);  
mc.\_rotation = random(360);  
}  
};

i have found this script that makes a nice masking text effect with particles

thank you
