How do I get the green key off the shelf in the Dobby level of Lego Harry Potter 2?

Solution 1:

You need to roll (double tap X on Xbox, not sure what the binding is in Wii) with a character into the cabinet to knock the key off the shelf.