Symbol Movie clip plays in loop despite stop() in clip

I am usually not one to post on Forums, but I am at wit’s end.

I am importing a movie clip as a symbol from a SWF using Embed to a AS3 program and, after attaching the movie clip to the stage, the movie clip keeps repeating. Before you ask I have indeed creating a script layer and put a “stop()” on the last frame. In fact the swf containing the symbol works perfectly fine when executed on its own or in Flashdevelop (my choosen IDE). Its only when imported does the clip keep repeating.

Here is the code:



package {
	import flash.display.*;
	import flash.events.*;
	
	public class Main extends Sprite 
	{
		
		[Embed(source='Animations.swf', symbol='AnimatedTitle')]
		protected static var AnimatedTitle:Class;
		
		public function Main():void {
			if (stage) init();
			else addEventListener(Event.ADDED_TO_STAGE, init);
		}
		
		private function init(e:Event = null):void {
			removeEventListener(Event.ADDED_TO_STAGE, init);
			// entry point
			var clip:MovieClip = new AnimatedTitle();
			stage.addChild(clip);
			clip.x = 200;
			clip.y = 200;
			clip.play();
		}
		
	}
	
}


Here is the project zip:

Here is the fla:

I am using the following for development:

  • my OS: Windows XP
  • to make the swf: Flash CS4 profession 10.0
  • to compile the code: FlashDevelop 3.0.3

Any assistance will be greatly appreciated.