# setTimeout not working in CS5 the same as in CS4

**URL:** <https://forum.kirupa.com/t/settimeout-not-working-in-cs5-the-same-as-in-cs4/315758>\
**Category:** flash\
**Created:** [November 3, 2010, 1:34pm UTC](https://forum.kirupa.com/t/settimeout-not-working-in-cs5-the-same-as-in-cs4/315758 "2010-11-03T13:34:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mashu](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@mashu](https://forum.kirupa.com/u/mashu)\
**Post date:** [November 3, 2010, 1:34pm UTC](https://forum.kirupa.com/t/settimeout-not-working-in-cs5-the-same-as-in-cs4/315758/1 "2010-11-03T13:34:06Z")

</div>

Until these days I’ve used Flash CS4 for my banners.  
Every time I wanted to pause the timeline for a number of seconds (without adding lots of frames on it) I used:

```auto
stop();
setTimeout(this,"play", 2000);

```

I made such a banner few days ago in CS4 and it worked like usually. I’ve installed CS5 and opened the same banner and now the very same code doesn’t work. It says “Type mismatch”.

Anybody know why?  
(sorry if discussed before, I haven’t found anything)
