Questions tagged [robotlegs]

Robotlegs is a tiny framework for building Actionscript 3 (Flash and/or Flex) applications

Robotlegs is a pure AS3 micro-architecture (framework) with a light footprint and limited scope. Simply put, Robotlegs is there to help you wire your objects together. It provides the glue that your application needs to easily function in a decoupled way. Through the use of automated metadata based dependency injection Robotlegs removes boilerplate code in an application. By promoting loose coupling and avoiding the use of Singletons and statics in the framework Robotlegs can help you write code that is highly testable.

http://robotlegs.org

79 questions
1
vote
1 answer

Unit Testing Mediator and view in robotlegs 2

I am learning robotlegs framework, but this question is also I think of general nature. I have a Mediator class that listens for event on a button in View and on that event it dispatches a signal containing VO which contains properities from two…
ThanksBro
  • 911
  • 1
  • 7
  • 20
1
vote
2 answers

Robotlegs with Signals: Warning: Injector already has a rule for type

I have a bunch of warning messages like this appear when using Robotlegs/Signals. Everytime this command class executes, which is every 2-3 seconds ..this message displays below If you have overwritten this mapping intentionally you can use…
MikeW
  • 4,749
  • 9
  • 42
  • 83
0
votes
1 answer

Is Robotlegs capable of doing this task?

I consulted with a coworker about something I want to implement in my project, and he told me about Robotlegs, it would be like this: from a external data source (databse, xml, etc) I create objects that behave the way I need and more important,…
0
votes
2 answers

how do I dynamically map view to mediator in Haxe using Cube framework

I've been working with and learning the following micro framework Cube https://github.com/xirsys/cube for use in my Haxe projects. The examples I've found have been very helpful but one thing the examples that I've ran across don't have that I'd…
mattwallace
  • 4,132
  • 6
  • 43
  • 77
0
votes
2 answers

Robotlegs wiring up dependencies that belong to a base class

I'm using robot legs, I've got a bunch of ServiceResponses that extends a base class and have a dependency on a Parser, IParser. I need to wire in a parser specific to the subclass. Here's an example: ModuleConfigResponse extends…
serenskye
  • 3,467
  • 5
  • 35
  • 51
0
votes
3 answers

How to use robotlegs and signals without flex ie. pure as3

I'm try to put together a bare bones robotlegs-signals project but all the samples I've seen are flex ie Index.mxml SignalCafeContext.as public class SignalCafeContext extends SignalContext { …
MikeW
  • 4,749
  • 9
  • 42
  • 83
0
votes
1 answer

Flex robotlegs module throws null pointer exception (Error #1009)

I have a problem with an application that uses RobotLegs in a Flex module. I finally managed to load my module successfully, but when I try to add this line of code in the module view's Mediator: view.addElementAt(applicationContainer,0); I get…
0
votes
2 answers

Flex : LCDS Service returning null Asynctoken when executed 2nd time

I'm developing a Flex application using RobotLegs, LiveCycle DS & Java. I'm trying to implement an update function, using LCDS, but I'm running into some strange behaviour: This is the ActionScript code within a RobotLegs' execute command, used…
WWWillems
  • 11
  • 2
0
votes
2 answers

Can't dispatch Event from model

using robotlegs i always retrieve this error. I have not idea whats wrong. TypeError: Error #1009: Cannot access a property or method of a null object reference. at org.robotlegs.mvcs::Actor/dispatch()[/Users/shaun/Documents/ …
fabian
  • 5,433
  • 10
  • 61
  • 92
0
votes
1 answer

Robotslegs Flow/Responsibility Diagram

a couple of month ago i saw a picture showing the responsibility of the different actors in the as3 robotlegs frameworks. The picture was great for beginners who didn't know which actor is responsible for what task. It was like: "Do you want to…
fabian
  • 5,433
  • 10
  • 61
  • 92
0
votes
3 answers

Commandlist and Robotlegs

Heyooo I want to incorporate a commandlist into robotlegs, the way i've done it now is to have a commandlist actor funnel out all the commands when not busy, but when the commands are executed robotlegs loses its' reference to the 'contextView'.…
0
votes
2 answers

FlexNativeMenu with robotlegs

I an using the Robotlegs framework and I am busy with an AIR desktop application and I want to use FlexNativeMenu. THe problem is that I am not able to create a view class based on mx.controls.FlexNativeMenu for dependency injection. When not…
0
votes
1 answer

Injecting a specific model implementation on the fly [Robotlegs]

Is model injection on the fly possible? In other words, if I ask for a model of the type IPhotoModel, I should get one of its implementations based on the current state of the view. If I am looking at a UserPage, I should get a user-specific…
user802232
  • 2,541
  • 7
  • 34
  • 40
0
votes
4 answers

Comparison between Mate, Swiz and Robotlegs frameworks for Flex development

My company is willing to reffactor its biggest and heaviest project introducing some kind of framework. Are there good online source/issue/blogpost with comparison of these 3 frameworks - Robotlegs, Swiz and Mate?
Kiril Kirilov
  • 11,167
  • 5
  • 49
  • 74
0
votes
2 answers

Losing scope when using package from node modules

I am trying to create a game template with pixi.js, using the robotlegsjs framework and typescript to include dependency injection and view management. Everything is working great if I work in a single repository, but I moved most of the generic…
Ivan Dzhurov
  • 187
  • 6