# Movie clip delay?

**URL:** https://forum.kirupa.com/t/movie-clip-delay/206766
**Category:** flash
**Created:** [November 11, 2006, 4:20am UTC](https://forum.kirupa.com/t/movie-clip-delay/206766 "2006-11-11T04:20:14Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![impossible](https://avatars.discourse-cdn.com/v4/letter/i/cc9497/32.png) [@impossible](https://forum.kirupa.com/u/impossible)
#### Post date: [November 11, 2006, 4:20am UTC](https://forum.kirupa.com/t/movie-clip-delay/206766/1 "2006-11-11T04:20:14Z")

</div>

Hi all, I have a one frame fla that controls the movie clips on stage through actionscript. When the swf starts to play all the movie clips move to their desired positions. I would like to know how to delay one of these movie clips for 2 seconds. The actionscript that control mc movement is located in the mc. Here is the code.

onClipEvent (enterFrame) {  
xPullOutNavArea = getProperty(\_root.PullOutNavArea, \_x);  
movePullOutNavArea = \_root.xTargetPullOutNavArea - xPullOutNavArea;  
setProperty(\_root.PullOutNavArea, \_x, xPullOutNavArea + (movePullOutNavArea/15));  
}

Can I add a delay in here?
