In this simple but detailed tutorial, you will learn how to create rain effect using Flash without Actionscript. Besides that, you will also learn how to create an ellipse and how to use Line Tool.
I thought it would be a great idea to have a layer of realistic looking rain in a flash movie but I have fairly limited knowledge of writing Actionscript. So, I will use this method to achieve what I desire.
Step 1: Start a new project with dimension of 200 X 150 pixels, set the frame rate at 30fps and go to properties panel set the background color #3399cc.
Step 2: Create a new layer and name it raindrop.
Step 3: Select the Line Tool, go to the Properties Panel (Ctrl+F3) below the stage and set the following attributes:
i) For Line color choose #000000
ii) Choose Solid as type of your line, with thickness set to 1.
Then, draw a “line” and place it on the stage.
Step 4: Select the “line”, and then press F8 key to convert it into a Movie Clip or you can right click on the “line” and convert to symbol. After that, double click on the movie clip. You should now be inside the movie clip.
This week, you will learn how to create a simple drop down menu, which is a 1 level drop-down menu with timeout effect. In the other words, it is similar to treelike unordered list.
I just wrote the simple script for the menu that will be displayed on the page:
As you can see, I’ve used unordered list for menu items. The event handlers that I used to control the show and hidden layer are onmouseover and onmouseout.
It is very simple code that displays the HTTP_USER_AGENT of the client and shows what version and the name of the browser that the user is working on.
This small sample script gives some examples of how the browser detector can be used, in the first case it will print out the browser with version number, and the operating system with version number.