Adobe Cookbook Find: AIR Undo/Redo


November 4th, 2009

Adobe AIRStumbled across this Adobe Cookbook post that explains how to add Undo/Redo functionality to your AIR Application! Seems pretty easy!

Solution

Every time the document is changed, we save the previous state on a list. To undo, we take the data at the current position in the list, and use it to restore the document. We also need to save the document state before we restore it. This enables us to redo. (Finish the article here, includes source)


Related Posts

Leave a Reply