I isolated the problem!see this

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 ?

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

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 :slight_smile:

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?

and

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

is not true if the clip is on stage