# Mac loadMovie() issue (again)

**URL:** <https://forum.kirupa.com/t/mac-loadmovie-issue-again/34412>\
**Category:** flash\
**Created:** [November 1, 2003, 9:33pm UTC](https://forum.kirupa.com/t/mac-loadmovie-issue-again/34412 "2003-11-01T21:33:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ironman](https://avatars.discourse-cdn.com/v4/letter/i/f9ae1b/32.png) [@Ironman](https://forum.kirupa.com/u/Ironman)\
**Post date:** [November 1, 2003, 9:33pm UTC](https://forum.kirupa.com/t/mac-loadmovie-issue-again/34412/1 "2003-11-01T21:33:39Z")

</div>

I posted like a week ago and got some good help from the Mac users, so hopefully I can wrap this thing up.  
Ok, so here’s my code:  
[AS]  
//initialize number links in our site  
numLinks=12;  
//loop to attach name to and create action for each button  
for(i=1; i\<=numLinks; i++) {  
eval(“b”+i).name = “b”+i;  
eval(“b”+i).onRelease = function(){  
\_root.movietoplay = this.name;  
gotoAndStop(10);  
loadMovie(“the\_book/book\_movie.swf”, \_root.book\_clip);  
}  
}  
[/AS]On PC this code has no problem. I am dynamically coding each button on the page with this code. Would the ‘loadMovie()’ part be violating the Mac “don’t put loadMovie() within an onEnterFrame() handle” rule? Or is this completely legit and the problem just lies elsewhere?
