1 Reply Latest reply on Nov 6, 2009 6:02 AM by clbeech

    Reset operations in a perticular frame

    Devoteé Level 1

      I've created a application where the viewer could change colours, add text, add logos, rotare them, etc...

       

      How do I create a reset button whcih resets everything to back normal in a specific FRAME? What functions do I have to use?

       

      E.g.

      Frame 5 is used to Add colours and text, etc...

      Frame 10 is used to Add logos,scale them, rotate them, etc...

       

      I need a reset button in Frame 5 to make only the things which were changed back to normal. (I hope this makes scence).

        • 1. Re: Reset operations in a perticular frame
          clbeech Level 3

          hmmm - well one could have a set of 'default' variables that you would then assign to the objects within a method to reset them.  what the variable values are depends greatly on the methodology of your system.  for instance if your changing the 'frame' of an object, you may simply need to reset that frame to 1 - or if your using a ColorTransform object you would want to store the default value, OR at least reset is to the original within the method (which may be simpler depending on the structure)

           

          you could place a 'reset' method on each frame that is specific to the elements of that frame.

          1 person found this helpful