Dispatch event problem, I need to improve my ugly solution

Hi. I’m trying painfully to build a website with as3, and I will…but the way I’m doing this it’s pretty ugly, and I suspect all the wonderfull capabilities of as3 are being wasted by my method…So, here is the problem, if someone could bring some light to my code, I’d really appreciate it:

  1. First, a swf, with a Document class, wich loads another swf into the first one, with all the assets. Cool, works fine, it loads. Then I acces some of those assets that are in the library, and create instances with addChild. Awesome, it works.
    2)One of those assets has a movieclip inside, wich is linked to an external class. This movieclip has other movieclips on his timeline. The external class does some stuff about those little instances, like scaling them, controling the alpha, and…calling an external class, that controls a transition. For that, I create an instance of that class:
    transicion = new Transicion1();
    transicion.agregarClip(h1,0.1);
    transicion.agregarClip(h2,0.2);
    etc…
    You know, I add parameters to a function inside that last class I mentioned, so there could be a transition, affecting the little movieclips. It works…I feel like Einstein.

3)THE PROBLEM! Ok, now I don’t feel so smart :|. When the incredible transition from the last class ends, I need to tell the Document class: “ey, I’m finished, now you should deal with this string, I don’t now what it is, it’s a string…” (for example “part2”). And the Document class should recieve it, and add and instance of other movieclip (for example, an instance of part2, wich is a movieclip on the library).
My solution: on the Document class, I’ve placed an enterframe…

this.addEventListener(Event.ENTER_FRAME,chekMov);

public function chekMov(e:Event):void{
if(VariableGlobal.vars.estado==“siguiente”){
trace(VariableGlobal.vars.estado);
this.removeEventListener(Event.ENTER_FRAME,chekMov);
}
}

As you can see, I’m not adding anything yet, just tracing the string, and then removing the enterframe. The string was stored on an outside class, wich has a static variable. I’m succesful on tracing the string, and I’m sure I could manage a way to add more stuff from the loaded swf with this method. But, I think the solution for this has to do with events…The only problem is that the class wich sends the string to the document class is so far away from it…I can’t figure out a way to do this with custom events.
IS THERE A WAY I CAN USE EVENTS HERE?

THANKS!