Capture image with webcam... in AS2

Hello everyone! After a long time away, i am back in AS…
i am trying to create a code that will use the local webcam (inbuild) to capture the users pic and use it, lets say, attach it to a movieclip…

Can anyone help me, pls?

Thanks.
Leo.