flash webcams for users
I have a website where users can log in and view profiles, comment on things and chat with each other. It's not more than a personal site with myself and a few friends. What I want to do is add webcams to it. All I need is to have some way for the user to click a link like "start my webcam" and it opens a page to their webcam. Then I need to show it to whoever else wants to see it. Say I put the webcam on a users profile page... If user1 is online and has their webcam on, and user2 views user1's profile, he would see user1 on cam. Or if they were in chat I could make it that if you click on user1 in the user list a small popup window would show his webcam.
The only problem is that I have absolutely no idea where to start with flash. Could anyone help me with this?