Using the Dock

This is something to do with the number of desktops open I think. I have looked at Gary (Marmost.com) but still can't work out the logic.
( I know I can use I, 2 or 3 fingers to pull down from the top, top-left or whatever to see all my open apps but with spaces, Mission Control and hot corners I can never remember any of these "gestures".)