# Cant gotoAndPlay(#); past frame 399?

**URL:** <https://forum.kirupa.com/t/cant-gotoandplay-past-frame-399/219410>\
**Category:** flash\
**Created:** [March 16, 2007, 10:42am UTC](https://forum.kirupa.com/t/cant-gotoandplay-past-frame-399/219410 "2007-03-16T10:42:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Copes](https://avatars.discourse-cdn.com/v4/letter/c/f07891/32.png) [@Copes](https://forum.kirupa.com/u/Copes)\
**Post date:** [March 16, 2007, 10:42am UTC](https://forum.kirupa.com/t/cant-gotoandplay-past-frame-399/219410/1 "2007-03-16T10:42:08Z")

</div>

Hi there,

Ive been absolutly ages since ive done any flash work, but ive been trying for about an hour to get my root timeline to go to frames past 399. but despite what frame number i put into my script, it will go to 399 if i put say 400, 500, 600 etc. :h:

Code from a mc that controls all the frames.

```auto

onClipEvent(load){
if(_root.randomised == 0){
	_root.randomnum = random(4);
	_root.randomised = 1;
}

if (_root.randomnum == 0) {
	_root.gotoAndPlay(1);
}
else if (_root.randomnum == 1) {
	_root.gotoAndPlay(210);
}
else if (_root.randomnum == 2) {
	_root.gotoAndPlay(410);
}
else if (_root.randomnum == 3) {
	_root.gotoAndStop(610);
}
}

```

Ive tried replacing frame numbers, with frame tag names, but that doesnt seem to work either.

heres the .fla  
[http://www.acornmedia.co.uk/final/swf/homebanner.fla](http://www.acornmedia.co.uk/final/swf/homebanner.fla)

Thanks in advance if anyone can tell me whats going on, before i go bald :x
