# Simple actionscript BIG headache

**URL:** <https://forum.kirupa.com/t/simple-actionscript-big-headache/202417>\
**Category:** Uncategorized\
**Created:** [October 1, 2006, 1:03am UTC](https://forum.kirupa.com/t/simple-actionscript-big-headache/202417 "2006-10-01T01:03:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Justus](https://avatars.discourse-cdn.com/v4/letter/j/b2d939/32.png) [@Justus](https://forum.kirupa.com/u/Justus)\
**Post date:** [October 1, 2006, 1:03am UTC](https://forum.kirupa.com/t/simple-actionscript-big-headache/202417/1 "2006-10-01T01:03:15Z")

</div>

[FONT=Arial]Hi guys - I found this forum around my 3rd hour of research while trying to fix an actionscript problem… I’m at the end of my rope. [/FONT][FONT=Arial]Anyone know why this isn’t working? It seems like the logical way to write it…Any help is appreciated.[/FONT]

```php
 
_root.mymc.onRollOut = function(){
do {_root.mymc.play();
} while (_root.mymc._currentframe == 60);
}

```

[FONT=Arial]Frame 60 on “mymc” has a stop() action. The idea is to make mymc play if it is on frame 60 OR once it gets to frame 60 but only after the RollOut has occured.[/FONT]
