Intro
Start off by opening Flash and selecting Action Script 3.
Create A Video
To create a video you will click on the library tab then right click on the space below and select new video. Name it video, change the type to video (ActionScript-controlled), press ok, and drag it over to the white space on the left. After that you should give it a instance name by clicking on the properties tab.
Action Script 3.0
After that you should make a new layer (click the little square thing in the bottom left corner) and call it something like AS3 because your gonna use that layer for Action Script 3.0. Next you should press F9 or go up to window and click on Actions to bring up the actions window. Then enter the code into the actions window exactly like the picture.
Conclusion
You should now test your creation by pressing ctrl+enter or going up to control test movie. If you did everything correctly flash should be asking to use your webcam, press allow and you should be good. Well i hope that helped and if you need any additional help, feel free to comment.
No comments:
Post a Comment