Platform/sidescroller game

i need the actionscript code or a tut on how to make the camera follow the player and patforms move left to right and i could run up a hill and i will post here when im stuck again

thnx!!-:link: