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
0
votes
2 answers

Robotlegs Flex - How deal with mediators being initialized after creationComplete?

I'm trying to build a Flex application using the Robotlegs framework and don't know how to deal with the creation of mediators (-> onRegister being called) only after the creationComplete event of the view component. My application loads several XML…
vanillu
  • 3
  • 3
0
votes
4 answers

What's the best and smallest framework for flex 4?

I'm looking for a framework that is small and reliable and works in Flex 4. I have some suggestions (but which should I choose): Mate swiz framework robotlegs
marko
  • 10,684
  • 17
  • 71
  • 92
0
votes
2 answers

RobotLegs: Sending events between Models?

I've got two two RobotLegs models that are, by necessity, fairly tightly coupled. What's the best way to send events between them? For example, I'd like to notify the AppleFarmerModel each time the AppleTreeModel dispatches an APPLE_READY event.
David Wolever
  • 148,955
  • 89
  • 346
  • 502
0
votes
2 answers

Robotlegs Logout

I am building a robotlegs app where you have to login in order to use it. When you loggin I have numerous mediators,injectors,models,vos etc. What should I remove when one logs out? Thanks in advance.
chchrist
  • 18,854
  • 11
  • 48
  • 82
0
votes
1 answer

Robotlegs AS3-Signals Dispatch signal from ItemRenderer

I have a mediated view with a DataGroup with a custom ItemRenderer. I want when I click a button in the ItemRenderer to dispatch a signal and handle it in my mediator? How can I do that? Thanks in advance
chchrist
  • 18,854
  • 11
  • 48
  • 82
0
votes
2 answers

Lighter & Faster workflow for robotlegs: might be better or it has too many downsides?

Currently I'm building quite a large app with flex4+robotlegs+as3signals+google app engine based on python. 1) Well the problem is that I'm finding myself redipsatching the same signals from the view to mediator and from mediator to context. 2) The…
Totty.js
  • 15,563
  • 31
  • 103
  • 175
0
votes
2 answers

Is better/faster/lighter to inject with metatag or with getters? actionscript 3 / flex

I would like to know which one is better/faster/lighter? [Inject] public var myInjection:MyInjection; OR [Inject] public var injector:IInjector; protected var _myInjection:MyInjection; public function get myInjection():MyInjection{ …
Totty.js
  • 15,563
  • 31
  • 103
  • 175
0
votes
1 answer

Manual injection into custom class with swiftSuspenders/robotlegs

in my context: var parserManager:ParserManager = injector.instantiate(ParserManager); parserManager.injector = injector; injector.mapValue(ParserManager, parserManager); in my parserManager(doesn't extend any other class) class: public var…
Totty.js
  • 15,563
  • 31
  • 103
  • 175
0
votes
1 answer

How to just execute a command in robotlegs without making him listening for an event?

How to just execute a command in robotlegs without making him listening for an event? Another way, but not this one: "It is not necessary, and should never be done, to call the execute() method directly. This is the framework implementation’s…
Totty.js
  • 15,563
  • 31
  • 103
  • 175
0
votes
1 answer

robotlegs: I have 2 views and mediators that have in common 1 thing how can I DRY it?

I have 2 views that show lists that then uses a mediator to get data. but I want in some way to DRY it so I don't have to repeat my self 2 times for the same thing. how do I do it? EDIT1(code): [SkinPart(required="false")] public var…
Totty.js
  • 15,563
  • 31
  • 103
  • 175
0
votes
1 answer

Injector is missing a mapping to handle injection

[Fault] exception, information=Error: Injector is missing a mapping to handle injection into property "data" of object "[object LoadFilePayloadCommand]" with type "game.uitils.loader.controller.commands::LoadFilePayloadCommand". Target dependency:…
jason
  • 1
  • 1
0
votes
1 answer

Robotlegs with SwfSuspenders and AS3Signals

a bit confused as to how my XML config file would change when switching over to Signals. Right now the 3 framework Commands I am using are defined as follows. Both ViewChangedCommand and the InitViewCommand are mapped to custom events.
Bachalo
  • 6,965
  • 27
  • 95
  • 189
0
votes
0 answers

On dataProvider change labels changes chart doesn't

I have a flex application, which consists of several tabs. One tab contains a columnchart and a datagrid, which contains collection of results (after selecting another datagrid result, another line in the chart shows up). This stops, however, after…
user2820173
  • 308
  • 2
  • 13
0
votes
1 answer

navigateToUrl

I'm warming up w/ AS3 robotlegs framework. I'm working on a FLEX 4/AIR Application which uses Twitter OAUTH API, my question is : where should I put my "navigateUrl" instruction so the use can authorize my token? Is it in an Actor or in my view?…
Romain Pouclet
  • 864
  • 2
  • 8
  • 17
0
votes
2 answers

Does Box2D breaks MVC concept?

Box2D suggestes a physics engine for games which combines and model and view. Now I want to use MVC design pattern or a framework based on MVC design pattern such as Robotlegs of PureMVC in order to create a game. If I choose Box2D, is it true that…
Narek
  • 38,779
  • 79
  • 233
  • 389