# Timeline cut out problem

**URL:** <https://forum.kirupa.com/t/timeline-cut-out-problem/182577>\
**Category:** flash\
**Created:** [March 19, 2006, 6:34pm UTC](https://forum.kirupa.com/t/timeline-cut-out-problem/182577 "2006-03-19T18:34:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![beforedawn](https://avatars.discourse-cdn.com/v4/letter/b/edb3f5/32.png) [@beforedawn](https://forum.kirupa.com/u/beforedawn)\
**Post date:** [March 19, 2006, 6:34pm UTC](https://forum.kirupa.com/t/timeline-cut-out-problem/182577/1 "2006-03-19T18:34:09Z")

</div>

Hi,

Please have a look at thefla attached. I have no idea why when I call tag.gotoAndPlay(“1start”) it works fine but tag.gotoAndPlay(“1start”) does not work at all - but it looks fine when in flash and I move along the timeline.

Any help most appreciated…

thanks

ash

---

<div class="post-metadata">

**Author:** ![rhamej](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rhamej](https://forum.kirupa.com/u/rhamej)\
**Post date:** [March 20, 2006, 12:22am UTC](https://forum.kirupa.com/t/timeline-cut-out-problem/182577/2 "2006-03-20T00:22:18Z")

</div>

None of your varibles have been defined. So its going to and playing nothing.

```auto

this.onEnterFrame = function(){
	//_root.testText = this._currentframe+" "+(_root.testText).substr(_root.testText.length-20);
	//only start this once the intro is complete
	if(_root.introComplete)
	{
		//after 10 seconds play finish the run
		if(loopCount == 240)
		{
			//increment the counter
			loopCount++;
			//create the frame label for the fin run
			var target:String = currLoc+"fin";
			//_root.testText = target+" "+this._currentframe;
			//play the fin run
			this.gotoAndPlay(target);
			//_root.testText = this._currentframe;
		}
		//after a further 3 seconds of blank, bring in a new animation
		else if(loopCount >= 312)
		{
			//_root.testText = _root.testText+" "+this._currentframe;
			//reset counter
			loopCount = 0;
			//create frame label
			//test if at the end of the animations, if so reset
			if(currLoc >= 3)
			{
				currLoc = 1;
			}
			else
			{
				currLoc++;
			}
			var target:String = currLoc+"start";
			_root.testText = target+" "+this._currentframe;
			//play the next run
			this.gotoAndPlay(target);
			_root.testText = _root.testText+" "+this._currentframe;
		}
		else
		{
			//increment the counter
			loopCount++;
		}
	}
}

```

---

<div class="post-metadata">

**Author:** ![beforedawn](https://avatars.discourse-cdn.com/v4/letter/b/edb3f5/32.png) [@beforedawn](https://forum.kirupa.com/u/beforedawn)\
**Post date:** [March 20, 2006, 8:32am UTC](https://forum.kirupa.com/t/timeline-cut-out-problem/182577/3 "2006-03-20T08:32:56Z")

</div>

Hi,

Sorry I menat to say:  
tag.gotoAndPlay(“1start”) works fine but tag.gotoAndPlay(“2start”) does not.

Is there any reason for this? “1start” only exists as a frame label, same as “2start” - I don’t need to define these as variables, do I?

thanks

ash

---

<div class="post-metadata">

**Author:** ![beforedawn](https://avatars.discourse-cdn.com/v4/letter/b/edb3f5/32.png) [@beforedawn](https://forum.kirupa.com/u/beforedawn)\
**Post date:** [March 20, 2006, 8:38am UTC](https://forum.kirupa.com/t/timeline-cut-out-problem/182577/4 "2006-03-20T08:38:32Z")

</div>

Also I have run traces on the current frame. It appears it is definitely playing through from 2start onwards - its just not visible.

thanks

ash

---

<div class="post-metadata">

**Author:** ![beforedawn](https://avatars.discourse-cdn.com/v4/letter/b/edb3f5/32.png) [@beforedawn](https://forum.kirupa.com/u/beforedawn)\
**Post date:** [March 20, 2006, 8:56am UTC](https://forum.kirupa.com/t/timeline-cut-out-problem/182577/5 "2006-03-20T08:56:58Z")

</div>

Problem solved. The second run of animation relied on dynamic text fields - which had no characters!

sorry for the waste of time…
