Flash webcam
Flash webcam
Hey, this is my first artical and its on creating flash documents which display your webcam, including pictures :D
-
Create a new flash document (easy enough)
-
Press Ctrl+L to open the library
-
Create a new video from the library menu http://h1.ripway.com/randompics/newvid.png
-
Make sure "Video (ActionScript-Controlled)" is ticked and leave it named as "Video 1" http://h1.ripway.com/randompics/vidas.JPG
-
Click on the first frame on your timeline and drag the new "Video 1" icon from the library onto your stage
-
Select the video symbol on the stage and press Ctrl+F3 and enter a unique instance name, for now jsut name it vid_out http://h1.ripway.com/randompics/instance.JPG
-
Again click the first frame and press F9 and insert this code "vid_out.attachVideo(Camera.get());" that captures the active webcam and displays in the window http://h1.ripway.com/randompics/code.JPG
-
Now thats it just press Ctrl+Enter to test your webcam
Thanks for reading, hope it works for you :p
spyware 17 years ago
On some fora you get banned for comments like the one above. The article is quite, but accurate. Maybe you could comment on the used code?
ghost 17 years ago
Spyware whats wrong with the above? lmao Nice to the point. Give syou exatly what it says on the tin (Y)
korg 17 years ago
Nice to the point, Like the screenshots, Nice touch. The code simply adds a path for the cam. Don't say this often enough really liked it:D 9/10
ghost 15 years ago
nice article, got 1 question: is it posible to use this in an .exe ( like in c++) that way you can use this in a trojan rite?