How to show pages instead of posts on the slider.

You will be familiar with wordpress themes with featured post sliders on the home page. I have a created quite a lot of them which you can find here. The sliders on those templates display posts with images from any category specified. Recently I got and email from a theme user asking if it is possible to show pages on these slider instead of posts. So I thought I will make a screencast of how to do it and post it so that it will useful for others as well. The reference material for this modification is available in the WordPress codex function reference for “query posts” . Watch the screencast and try it. Plz write down your comments if you have any.