Вопрос

I'm try to put together a bare bones robotlegs-signals project but all the samples I've seen are flex ie

Index.mxml

 <context:SignalCafeContext contextView="{this}"/>

SignalCafeContext.as

public class SignalCafeContext extends SignalContext
  {
    override public function startup():void
    {  
        injector.mapSingleton.... etc etc
    }
}

Is this possible to replace the mxml with another .as file - normally I would pass from the main class

context = new MyContext(this); // where this is DisplayObjectContainer

however super() takes no parameters in SignalContext so I might be missing something.

More Info:

libs:

as3-signals-v0.5.swc

robotlegs-framework-v1.03.swc

signals-extensions-SignalsCommandMap.swc

Нет правильного решения

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top