# I isolated the problem!see this

**URL:** <https://forum.kirupa.com/t/i-isolated-the-problem-see-this/24949>\
**Category:** Uncategorized\
**Created:** [July 7, 2003, 3:45pm UTC](https://forum.kirupa.com/t/i-isolated-the-problem-see-this/24949 "2003-07-07T15:45:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mediaholic](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mediaholic](https://forum.kirupa.com/u/mediaholic)\
**Post date:** [July 7, 2003, 3:45pm UTC](https://forum.kirupa.com/t/i-isolated-the-problem-see-this/24949/1 "2003-07-07T15:45:05Z")

</div>

fla is attached

this is all i have on maintimeline of main.swf

createEmptyMovieClip(“content”, 10);  
content.\_x = 10;  
content.\_y = 10;  
content.onEnterFrame = function() {  
trace(\_root.\_url);  
}  
content.loadMovie(“stuff1.swf”);

The problem seems to happen only wenn u create mc dynamicly.

onEnterFrame stops tracing as soon u try to load another movie  
in the content mc. the mc and the prototypes seem to be overwriten, but from main movie the referenz \_level0.content ist still functional.

is this a bug, or is just sily me?

thoes anybody knows a reasen or workaround ?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 7, 2003, 4:09pm UTC](https://forum.kirupa.com/t/i-isolated-the-problem-see-this/24949/2 "2003-07-07T16:09:44Z")

</div>

Old problem: Loading in a clip erases everything in that clip, including handlers. Try instead to load in a container clip located inside content:

```auto
createEmptyMovieClip("content", 10);
content._x = 10;
content._y = 10;
content.onEnterFrame = function() {
trace(_root._url);
}
content.createEmptyMovieClip("container",0);
content.container.loadMovie("stuff1.swf");

```

pom 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 7, 2003, 4:28pm UTC](https://forum.kirupa.com/t/i-isolated-the-problem-see-this/24949/3 "2003-07-07T16:28:46Z")

</div>

tnx, now i currious about other workorounds  
like:

createEmptyMovieClip(“content”, 10);  
content.\_x = 10;  
content.\_y = 10;  
function tellMe() {  
//callback( property, oldvalue, newvalue [, data])  
for (var e=0; e\<arguments.length;e++) {  
trace(arguments[e]);  
}  
}  
content.watch(“onEnterFrame”, tellMe);  
content.onEnterFrame = function() {  
trace(\_root.\_url);  
};  
content.loadMovie(“stuff1.swf”);

couldn’t i wacth for the property and then wen overwritten  
assaign it again?  
and i dont know how to wenn something like this is traced"[type Function]"  
how to get the inside look of it?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 7, 2003, 4:31pm UTC](https://forum.kirupa.com/t/i-isolated-the-problem-see-this/24949/4 "2003-07-07T16:31:18Z")

</div>

and

“loading into a clip deletes the clip events running on that clip”

is not true if the clip is on stage
