# Loaded clip's timeline code ignored?

**URL:** <https://forum.kirupa.com/t/loaded-clips-timeline-code-ignored/311903>\
**Category:** Uncategorized\
**Created:** [July 20, 2010, 3:45am UTC](https://forum.kirupa.com/t/loaded-clips-timeline-code-ignored/311903 "2010-07-20T03:45:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OMG](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@OMG](https://forum.kirupa.com/u/OMG)\
**Post date:** [July 20, 2010, 3:45am UTC](https://forum.kirupa.com/t/loaded-clips-timeline-code-ignored/311903/1 "2010-07-20T03:45:09Z")

</div>

Hello  
I’ve loaded a clip (with a stop() and a trace() on the first frame) in my main swf but somehow when it’s loaded and added on the stage it neither stops nor do the trace command, here’s my code:

```php

package {
	import flash.display.*;
	import flash.events.*;
	import flash.net.*;
	public class Core extends MovieClip {
		private var loader:Loader;
		private var req:URLRequest;
		private var the_oval:Oval;
		public function Core() {
			loader=new Loader();
			req=new URLRequest("oval1.swf");
			loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completed);
			loader.load(req);
		}
		private function completed(e:Event):void {
			the_oval=loader.content as Oval;
			stage.addChild(the_oval);
		}
	}
}

```

inside the Oval class which is linked to Oval.fla, there’s nothing but another trace(). This trace works though.
