Friday, November 2, 2012

Use Macromedia Flash Professional

Flash can be used to create websites and Web graphics.


Adobe Flash is one of the most versatile programs available for Internet and desktop productivity. From creating simple buttons for websites to full-featured, interactive websites or interactive training programs, Flash delivers content to millions of Internet users each day. Using Flash can seem a bit daunting at first, but once you get the basic idea of what the program does, your knowledge can expand quickly.


Instructions


Create and Animate an Object on the Stage


1. Once Flash is open, left-click on the rectangle tool on the toolbar to the left and hold the button down until the flyout menu appears. Then select "Oval tool" and release.


2. Draw a medium-sized circle on the stage, in the middle, leaving enough room for it to "move" around later.


3. Click the selection tool at the very top of the toolbar.


4. Double-click on your ball to select both it and its surrounding line. If you want to change your ball's fill or line color, click on their toolbar icons.


5. Press "F8" on your keyboard with the ball selected to turn it into a movieclip symbol. Name the symbol "myBall" and press "OK." Do not change any of the options.


6. On the timeline at the top of the screen, right-click the small, gray rectangle beneath the 20, then choose "Insert Keyframe" from the menu. The timeline will fill in from 1 to 20 with a long gray bar, and frame 20 where you clicked will have a small black dot in it, indicating that it is a keyframe. A keyframe is where something "significant" changes or happens in Flash.


7. Select your ball again, then drag it to the bottom of the stage. In keyframe 1, your ball is in the original position you drew it, while in keyframe 20 it is in the latter position at the bottom of the screen. If you played your movie now, you would see the ball in the original position, then it would suddenly jump down to the bottom of the screen. You can have Flash automatically fill in what is supposed to happen between frames 1 and 20.


8. Right-click on the long, gray rectangle between frames 1 and 20 on the Timeline and choose "Create Classic Tween." Flash will turn the gray rectangle blue and put a black arrow in from frame 1 to frame 20. This indicates that the area is a now a motion tween. Press "Ctrl + Enter" on your keyboard to test the movie. Your ball will "fall" from its original position to the bottom where you left it in frame 20, then the movie will restart instantly, putting the ball back at the start.


Add Basic ActionScript to Your Movie


9. Click on the timeline at frame 20 to make sure it is selected.


10. Press "F9" on your keyboard to open the Actions Panel. This is where the true power of Flash lies, in creating code to control your movies.


11. This simple example demonstrates stop your movie once it reaches the end.


In the Actions Panel, type:


"stop();"


without the quotes. This tells Flash that when it reaches this frame it should stop playing the movie. Press "Ctrl + Enter" on your keyboard to test the movie and watch what happens.

Tags: your ball, your keyboard, gray rectangle, original position, Actions Panel