Memento Pattern – Recording State

Wednesday, February 25th, 2009 | examples

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

Tags:

  • Icek
    @Monkey you are right, when holding for long time it's working.
  • Monkey
    oh - i see, working just have to hold left and right keys down for long time.
  • Monkey
    not working on my macs ether! :(
  • John Lindquist
    Seems like I should make the demos to hype up the design patterns first before doing the videos :D
  • nikudy
    very nice :). i was thinking a few days ago about making something like that. Keep them coming .
  • Pedro
    Great demo. Thanks!
  • Guest
    @Icek seems to work fine on my mac in safari and firefox. Fantastic example, count this as bookmarked!
  • veeeeeery nice! i want to see the video
  • Icek
    Doesn't work on mac. I tried in Safari and Firefox...
  • Neat! Looking forward to the vid :D
blog comments powered by Disqus

Search

Recommended Books

Speaking at FITC Toronto

 

February 2009
M T W T F S S
« Jan   Mar »
 1
2345678
9101112131415
16171819202122
232425262728  

Preferred Video Tutorial Resolution

  • 1024x768 (53%, 85 Votes)
  • 1280x1024 (15%, 24 Votes)
  • 1920x1080 (15%, 24 Votes)
  • 800x600 (13%, 20 Votes)
  • 480x320 (4%, 6 Votes)
  • 640x480 (0%, 2 Votes)

Total Voters: 160

Loading ... Loading ...