Urgent: Stuck in code...

#1
Hi guys,

I´m on production right now and my brain is fucked up...

I need some help with a very basic thing:

Actionscript:

Code: Select all

package
{
	import flash.display.MovieClip;
	import se.svt.caspar.ICommunicationManager;
	import se.svt.caspar.IRegisteredDataSharer;
	import se.svt.caspar.template.CasparTemplate;

	public class loop extends CasparTemplate
	{
		var loopfield=true;
		
		override public function Next():void 
		{
		loopfield=false;
		}
	}
}
On timeline: On frame 125the following action code on the "actions" layer:

Code: Select all

while (loopfield==true) {
gotoAndPlay(100);	
}
For my expectations it should play the timeline in loop with jumping back to frame 100. Sadly it doesn't´t do it....
Can someone help me with it? Show starts in some hours (got the templates very late -.- )