Strange thing here.

Ok,look at that:

mc.loadMovie("foo.swf|");
mc.onData = function () {
trace("!!!");
}

The result?
The foo.swf load into mc, but nothing with the onData handler!!! Yes, there are data loaded, foo.swf is 1Mo, and I have a preloader, so I'm sure there are data loaded.

Why?

Other strange thing:
If I put the event handler in a frame (like good old version 5) it's work. But if I put a variable, say "bar" into it, I can't initiate the value outside! Say:
mc.bar = "foo";
mc.loadMovie("foo.swf");
and in the frame:
onClipEvent() {
trace("!!!") // that's work
trace(this.bar) // undefined.
}


Why??

Tnx a lot!!
Flash and VooDoo is same thing.