Wednesday, December 29, 2010

Make A Camera On Macromedia Flash Professional 8

Make a Camera on Macromedia Flash Professional 8


The Macromedia Flash program is a versatile tool that can be used for many diverse applications, such as animating cartoons, creating interactive websites or writing entire programs that would normally be made in more complex programming languages. The Flash program has a special camera class that can be used to easily transfer pictures and video directly from a camera to your computer screen.


Instructions


1. Navigate through your computer's Start menu or desktop icons and double-click on the icon for the Macromedia Flash Professional 8 program.


2. Choose the option from the main menu screen to create a new Flash project. Set up the interface that you intend to use as you would normally, either by setting up a graphical interface for a website or making a normal window for an executable file.


3. Switch over to the code view for your project and make a new object to access a camera connected to your computer by typing in "Camera.get()"; then specify where the program should look for the camera, such as from a USB port.


4. Set the specifics of how much data will be transmitted from the camera to your program, and whether it will only send still photos or full-motion video, by using the "Camera.setKeyFrameInterval()" method. Set it to a lower interval for less data and a higher interval for more data and faster transfer of images.


5. Use the "Camera.setMode()" function to specify how the images will be displayed in the program. Utilize the ".height," ".width," and ".quality" properties inside the function to indicate the number of pixels to be used in displaying images. Type in the ".name" property, then specify a name for the camera so your computer can properly read its contents and distinguish it from other cameras that may be hooked up later.


6. Upload the program to a website or create an executable file to finish the program. Connect a digital camera to your computer and open the Flash program to transfer images and video.







Tags: your computer, camera your, Macromedia Flash, camera your computer, Flash Professional, Flash program, Macromedia Flash Professional