SARS experiences

Samuel's Avatar


29 Nov, 2012 03:49 PM


Does anyone have any experience with using the SARS extension? Has it been a pleasant experience?

Where I work we start every new project with a "base project" that has all the commonly needed stuff like loading config/assets, localization, view transitions and such things. This base project has been based on RL1 but we are thinking about porting to RL2. We are thinking if we should base it on SARS or not.

Not all our projects use Starling or Away, and very few use both. However, it happens. We do not want to maintain many base projects so we are thinking if it would still be useful to base it on SARS, so that both Starling and Away would be there when needed, but not in the way if not needed. Would that work??

I thought I would ask the community before digging into the extension and RL2.


  1. Support Staff 1 Posted by Shaun Smith on 29 Nov, 2012 07:16 PM

    Shaun Smith's Avatar

    Hi Samuel,

    One of the design goals of RL2 is to allow reuse without inheritance. The recommended way to achieve what you want is to create Bundles. Have a look at the MVCSBundle to get an idea of what a custom Bundle does:

    It installs a number of Extensions and possibly some custom Configs.

    You'll notice that the SARS bundle is quite similar:

    I don't have any experience with SARS unfortunately, so I can't give any advice in that regard.

    Hope that helps,

  2. 2 Posted by Vj3k0 on 30 Nov, 2012 03:08 PM

    Vj3k0's Avatar

    Samuel, thanks for taking interest in RL and SARS. I replied to your email, but I'm pasting relevant part of my response here also if it helps anyone else:

    You should have no problem with using only Starling, Away or Flash display list, or any combination of those. If you would want to use only Flash display list, then it would be better to use MVCBundle to avoid extra code dependencies and have smaller app.

    SARS is like a Swiss knife. In configure method you can pass only StarlingCollection without View3D and you will use only Starling. You can also pass only ContextView to use only Flash display list without Away3D or Starling and you would use it like classic RL. But as I said, it would be better then to use MVCBundle with SignalCommandMapExtension.


  3. Ondina D.F. closed this discussion on 20 Dec, 2012 12:43 PM.

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

Keyboard shortcuts


? 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