سؤال

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