# Attach movie problem

**URL:** <https://forum.kirupa.com/t/attach-movie-problem/94294>\
**Category:** Uncategorized\
**Created:** [November 11, 2003, 4:40am UTC](https://forum.kirupa.com/t/attach-movie-problem/94294 "2003-11-11T04:40:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Booyaka](https://avatars.discourse-cdn.com/v4/letter/b/4af34b/32.png) [@Booyaka](https://forum.kirupa.com/u/Booyaka)\
**Post date:** [November 11, 2003, 4:40am UTC](https://forum.kirupa.com/t/attach-movie-problem/94294/1 "2003-11-11T04:40:57Z")

</div>

hey you guys  
well let me get straight to the problem  
i finaly had the time to dowload the flashmx 2004 demo  
and i tried some basic stuff on it im just wondering why this script doesnt work thanks for the help :hr:  
[AS]  
onEnterFrame = function(){  
dot = attachMovie(“dot”,“dot”+i,i);  
dot.\_x=Math.random()\*550;  
dot.\_y=Math.random()\*400;  
i++;  
};  
[/AS]  
when i preview it just comes up as flickering dots its really wierd and it only happens when it i set it to flash 7 player.
