Questions tagged [swiz]

For issues relating to the Swiz framework for Adobe Flex, AIR and Flash.

Swiz is a framework for Adobe Flex, AIR, and Flash that aims to bring complete simplicity to RIA development. Swiz provides:

  • Inversion of Control / Dependency Injection
  • Event handling
  • A simple life cycle for asynchronous remote method invocations
  • A framework that is decoupled from your application code
  • Compatibility with both Flex and non-Flex AS3 projects

Resources:

22 questions
4
votes
3 answers

Displaying Flex Object References

I have a bit of a memory leak issue in my Flex application, and the short version of my question is: is there any way (in AcitonScript 3) to find all live references to a given object? What I have is a number of views with presentation models behind…
orlade
  • 2,060
  • 4
  • 24
  • 35
1
vote
1 answer

Adobe Flex: Injecting data and mediating events in modules with Swiz

Since my application is getting bigger, I decided to fragment my project into several modules, but the documentation from Swiz on Modules is very poor (http://swizframework.jira.com/wiki/display/SWIZ/Module+Support). I tried out the Swiz Examples…
Falco87
  • 11
  • 2
1
vote
1 answer

Flex, Swiz Framework: Mediate (EventListener) tag does not work using a string constant

I am using the Swiz framework with Flex. I am trying to use the the mediate tag with some luck here is my problem: public class Locale { private static function onLoadSuccess(event:Event):void { // I have a break point here. I can…
sixtyfootersdude
  • 25,859
  • 43
  • 145
  • 213
1
vote
4 answers

Swiz mandates weak encapsulation

I just started using Swiz, and, it seems like Swiz forces you to create classes with weak encapsulation. Swiz requires all event handlers to be public in order to mediate events. Assume that component 'A' dispatches a few events, which I want to…
Faisal Mansoor
  • 2,041
  • 1
  • 21
  • 25
1
vote
1 answer

How do I fix this error when debugging in Flex?

I am completely new to Flex and have been given an application to work on. I am trying to debug it for the first time (first time for me) and it has run for the previous coworker (who is no longer here, so I can't ask him). Here is the…
AllisonC
  • 2,973
  • 4
  • 29
  • 46
1
vote
2 answers

Flex Application Framework -- PureMVC Portability vs. Swiz?

My company is building a Flex application that we may need to port to other platforms: Silverlight (likely) Mobile (maybe -- iPhone: Objective-C , Android: Java, etc.) Desktop (maybe -- AIR, .NET, etc.) TV sets (maybe eventually) Currently, I’m…
Karthik
  • 403
  • 3
  • 14
1
vote
1 answer

Flex: swiz .6.2 undefined method loadbeans

I'm trying to set up the swiz framework in flex but cant seem to get it to compile. Im using swiz 0.6.2 and flex 3.0.2. The swc is in the libs directory of my flex project. Im following the tutorial here:…
greggreg
  • 11,945
  • 6
  • 37
  • 52
1
vote
0 answers

Client persistence issue with SharedObjectBean (Swiz framework)

I am using Swiz framework in my flex application. I am using SharedObjectBean for client persistence. It is working fine, but the problem is when I close the browser and again restart the application then client persistence does not work. There is…
Vaibhav
  • 1,479
  • 8
  • 13
0
votes
1 answer

Flex mobile using Swiz framework

I am investigating an flex mobile application using SWIZ framework. However, I have no experience with all frameworks. Where can I know what is it and have a quick start? I know that it is using MVC but no more. Please give me some advice.
red23jordan
  • 2,841
  • 10
  • 41
  • 57
0
votes
1 answer

Swiz 1.3.1 LogProcessor

i try everything to get the LogProcessor for Swiz to run. Here are the project Foomonger. I fear however, the ressources refer to an old version of swiz. I want to implement the LogProceccor without the SwizLoggerConfig, because i need only the…
Frank
  • 780
  • 1
  • 10
  • 22
0
votes
1 answer

Swiz framework with AIR - Using ViewAdded/ViewRemoved on child windows?

I'm trying to implement a popup window (NativeWindowType.UTILITY) in an AIR 2.7 application that uses Swiz for dependency injection. I have followed the Swiz guidelines that I've been able to find, and implemented ISwizAware on the class that…
0
votes
1 answer

SWIZ: Getting started with first example

I am trying to start with the framework, but it appears to be dramatically hard for some reason. I want to follow complete example posted here http://swizframework.jira.com/wiki/display/SWIZ/Quick+Start But I have issue on the very beginning. E.g. …
Oleg Tarasenko
  • 9,324
  • 18
  • 73
  • 102
0
votes
2 answers

Injecting a controller into another controller

I have a controller that receives an event with some data. As a part of the processing this s new data it needs to modify a collection in another controller. Is it a bad idea to inject a controller into another controller to modify this…
asawilliams
  • 2,908
  • 2
  • 30
  • 54
0
votes
1 answer

Inject properties into itemrenderer

Is it a bad idea to inject data into an itemrenderer. The reason I ask this is because the state of each item is dependent on different changing data sources. So the original data is used to just display a new item, but there could be two to three…
asawilliams
  • 2,908
  • 2
  • 30
  • 54
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
1
2