0 Replies Latest reply on Mar 15, 2011 7:17 PM by chris.schruder

    Creating a Stack

    chris.schruder

      Hi everyone,

       

      I am  new to Flash Builder and designing apps.  I am trying to add a  function that lets me undo previous actions that have occurred.  For  this I would like to create a stack structure which "pushes" actions  that occur and whenever the undo button is hit the actions will be  "popped" returning to the value it once was.

       

      The basis of why I want to store values is that I am subtracting numbers  from a larger number.  If the undo button is pressed then the previous  subtracted value will be added back to the total.

       

      If anyone has any tips on  creating a stack structure and its functions I would be very interested.

       

      Thanks