Problem with SignalContext

Gerry Koh's Avatar

Gerry Koh

11 Nov, 2010 05:55 PM

Hi,

I am trying to learn signals to use in my robotlegs apps. Using RegistrationRLSignals as an example, i added as3-signals.swc and signals-extension-SignalCommandMap.swc into my libs folder (robotlegs-framework is linked to the project already). When I change my context to subclass from SignalContext instead of Context, I get the following error message. Does anyone know what is wrong?

Thanks,

Gerry

ReferenceError: Error #1065: Variable org.robotlegs.base:ContextBase::injector is not defined.

at org.robotlegs.mvcs::SignalContext/mapInjections()[/Users/joel/Code/robotlegs/robotlegs-dev/signals-extension-CommandSignal/src/org/robotlegs/mvcs/SignalContext.as:24]
at org.robotlegs.mvcs::Context()[/Users/gkoh/Workspace/bie-bop/robotlegs-framework/src/org/robotlegs/mvcs/Context.as:89]
at org.robotlegs.mvcs::SignalContext()[/Users/joel/Code/robotlegs/robotlegs-dev/signals-extension-CommandSignal/src/org/robotlegs/mvcs/SignalContext.as:21]
at com.biemedia.tools.VideoTool::VideoToolContext()
at VideoTool/_VideoTool_VideoToolContext1_i()
at VideoTool()[/Users/gkoh/Workspace/bie-bop/VideoTool/src/VideoTool.mxml:8]
at _VideoTool_mx_managers_SystemManager/create()
at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:304]
at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\SystemManager.as:2810]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\SystemManager.as:2637]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\SystemManager.as:2539]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/timerHandler()[E:\dev\4.x\frameworks\projects\framework\src\mx\preloaders\Preloader.as:515]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
  1. Stray closed this discussion on 10 Feb, 2011 06:12 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac