Tuesday, February 24, 2009

Memento Pattern - Recording State

Here's a little preview for the video I'm going to make tomorrow about the Memento Pattern.

To play with the .swf follows these steps:

1. Click the .swf to give it keyboard focus
2. Press the SPACE BAR to start your recording
3. Move the MOUSE around to change the red circle's position
4. Press the SPACE BAR again to stop the recording
5. Press the LEFT and RIGHT keys to rewind and fast forward through actions you took

Neat trick, huh? :)

source

10 comments:

  1. Neat! Looking forward to the vid :D

    ReplyDelete
  2. Doesn't work on mac. I tried in Safari and Firefox...

    ReplyDelete
  3. veeeeeery nice! i want to see the video

    ReplyDelete
  4. @Icek seems to work fine on my mac in safari and firefox. Fantastic example, count this as bookmarked!

    ReplyDelete
  5. Great demo. Thanks!

    ReplyDelete
  6. nikudy11:15 PM

    very nice :). i was thinking a few days ago about making something like that. Keep them coming .

    ReplyDelete
  7. John Lindquist2:53 AM

    Seems like I should make the demos to hype up the design patterns first before doing the videos :D

    ReplyDelete
  8. Monkey8:09 AM

    not working on my macs ether! :(

    ReplyDelete
  9. Monkey8:10 AM

    oh - i see, working just have to hold left and right keys down for long time.

    ReplyDelete
  10. @Monkey you are right, when holding for long time it's working.

    ReplyDelete