Hey guys, just took a look at your .cap Minor and was able to simplify this down to one event. Saves on having to reverse the gravity and controls etc.
This is saved in the latest build of the construct 0.99.85
http://dl.dropbox.com/u/1487524/Scirra/CeilingGrab.cap
If you can't open it, the line goes like so
Player1 "Move Up" is down
Player overlaps at offset y-1 ---- Player set vertical speed to 0
As a side note, the latest builds of construct(potentially unstable) are posted here:
The one on the main page is the latest stable build