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

In the Presentation Model pattern can view specific logic reside in the view?

I'm currently using RobotLegs with the Presentation Model pattern to develop a Flex 4 project. I understand that all business logic related to a View resides in the Presentation Model associated with that view, however, I am confused when it comes…
1
vote
1 answer

RobotLegs - Mediator for main application class

I'm trying to mediate the main application class ( the 'Document class' of a Flash *.fla project) I have this on the Application Context startup(): ... mediatorMap.mapView(MyApplication,MyApplicationMediator); …
Johnny Everson
  • 8,343
  • 7
  • 39
  • 75
1
vote
1 answer

SwiftSuspenders: “mutually injecting” classes?

Does SwiftSuspenders support “mutually injecting” classes? For example, if class A injects an instance of B, and B injects an instance of A: class A { [Inject] public var b:B; } class B { [Inject] public var a:A; } And, if not, how…
David Wolever
  • 148,955
  • 89
  • 346
  • 502
1
vote
1 answer

How to manage complex models? or just Cache data from database?

My app has windows that are components. In my case, now I have 2 components that have a drop down list that show the current logged user lists. So when I use one component for the first time it make a request to database, save data in model, and…
Totty.js
  • 15,563
  • 31
  • 103
  • 175
1
vote
2 answers

Creating RobotLegs Module within a PureMVC Shell Application

I'm working on an existing modular project that was built in PureMVC. Instead of converting everything over to RobotLegs, I want to create a new module using RobotLegs and plug it into the pureMVC shell. Currently, when the module loads, I get the…
LazerWonder
  • 118
  • 1
  • 9
1
vote
6 answers

how much effective is a frameworks for RIA in long run?

i am pretty newbie in terms of flex/RIA frameworks. mostly done work on server side. as i search on internet , people are using a lot different framework, cairngorm to mate. so my question is , as i am baby stepping through flex, should i go for…
iamgopal
  • 8,806
  • 6
  • 38
  • 52
1
vote
1 answer

Load images using loader class and send the images in an arrayCollection

I am facing a particular problem which I am unable to resolve. I am using ActionScript 3 with Robotlegs framework. I have to make a series of URL Requests in a command. Each URL gives an image. I am pushing these images into an ArrayCollection and…
akashrajkn
  • 2,295
  • 2
  • 21
  • 47
1
vote
0 answers

Robotlegs 2 migration - Dynamic view

I used RB1 in my projects the following way: I had externally-loaded GFX with linkage names. I did something like this: injector.mapClass(MyView, MyView); var ClassReference : Class = getDefinitionByName(id) as…
1
vote
2 answers

VerifyError: Error #1053: Illegal override of (Constructor) in (Class)

I'm using Flash Builder 4.7 and I've come across a bizarre issue, without any changes to the class this is occurring in I get: VerifyError: Error #1053: Illegal override of HUDScreen in mobile_ui.screens.HUDScreen. This class extends Sprite, and…
1
vote
2 answers

Update the view although the model hasn't changed

My app updates the view in response to events dispatched by the model. But what if the model hasn't changed, but I still need to update the view. For example, I've closed and reopened a pop-up. The data to be displayed hasn't changed but the pop-up…
hidarikani
  • 1,121
  • 1
  • 11
  • 25
1
vote
1 answer

Migrating a simple Robotlegs application (form 1.5 to 2)

I'm new to Robotlegs, and somewhat struggling with the first steps. To learn the ropes I followed the first part of Joel Hooks' introduction and am now trying to create the same in RL2. My current questions/problems are: Which method has…
Jake
  • 115
  • 1
  • 3
  • 15
1
vote
1 answer

Signal command map injection error

I am using Robotlegs to create a simple application in as3, which I have been using for a couple of months now. I seem to be getting an injection error when injecting the ISignalCommandMap into my config file, which has only started happening after…
1
vote
3 answers

flexUnit pure AS3 IntelliJ

Is it possible to have FlexUnit 4.1 in IntelliJ with project set up as Pure AS3 which meens no Flex Runner. What I get is an error Error #1065: Variable mx.core::FlexVersion is not defined. ReferenceError: Error #1065: Variable mx.core::FlexVersion…
ThanksBro
  • 911
  • 1
  • 7
  • 20
1
vote
2 answers

Event Duplication

In my Robotlegs app service results often have to be persisted in models. This creates event pairs that have identical payload types: to carry the data from service to command, to carry the data from model to mediator I'm wondering how to name…
hidarikani
  • 1,121
  • 1
  • 11
  • 25
1
vote
1 answer

Should I Include Words Model, Service, Mediator in Event Names

If an event is dispatched by a service should I include the word 'service' in the event class name? For Example TwitterServiceEvent. The same applies to Models and Mediators.
hidarikani
  • 1,121
  • 1
  • 11
  • 25