Removing unneeded Actors and stuff

hush's Avatar

hush

28 Nov, 2009 11:54 PM

Hello!
Today while exercising Robotlegs I spent some time going through best practices docs searching for some tips on releasing unneeded Actors and mapped Events however i did not succeed.
My fault that I did not throw my eager eyes into Robotlegs ASDocs first ;]
Anyways, if anybody is looking for the same thing, there it is:

//unmap an Event
commandMap.unmapEvent(eventType:String, commandClass:Class, eventClass:Class = null):void

//unmap an Actor
injector.unmap(Class:Class, named:String="");
  1. Support Staff 1 Posted by Shaun Smith on 07 Dec, 2009 02:44 PM

    Shaun Smith's Avatar

    Thanks for adding this to the knowledgebase!

  2. Shaun Smith closed this discussion on 07 Dec, 2009 02:44 PM.

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

Keyboard shortcuts

Generic

? 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