Template Categories

templates categories Automobiles
templates categories Business
templates categories CSS Templates
templates categories E-Commerce
templates categories Education
templates categories Fashion
templates categories Greeting Cards
templates categories Hotels
templates categories Jewelry
templates categories kids
templates categories Models
templates categories Music - Films
templates categories Night Club
templates categories Real Estate
templates categories Restaurant
templates categories Software
templates categories Sports
templates categories Travel
templates categories Web-design
templates categories Wedding

Tutorial Categories

tutorial categories AJAX
tutorial categories CSS
tutorial categories Dreamweaver
tutorial categories Flash
tutorial categories FTP - File Transfer
tutorial categories HTML Emails
tutorial categories Javascript
tutorial categories Microsoft Excel
tutorial categories Microsoft Windows
tutorial categories Microsoft Word
tutorial categories MySql
tutorial categories Photoshop
tutorial categories Php
tutorial categories Windows Movie Maker
tutorial categories Xhtml / Html

Flash - Create old film grain effect

BELOW IS THE EXAMPLE OF WHAT WE ARE GOING TO CREATE.
In this tutorial I will show you how to create old film effect
1. Create a new flash document and set the dimensions to anything you like. With the help of line tool (N) draw a black line the height of the stage and convert it into a movielcip calling it vertline_MC.

2. Select the new vertline_MC and give it an instance name of vert_line.

3. With the help of Oval tool (O) and draw a small black circle 5x3 pixels. Convert this small circle into a movielcip and call it oval_MC. Give it an instance name of oval.

4. Select the oval_MC and press (F9) to open the actions panel, add the following code.

onClipEvent (load) {
if (this._name<>"oval") {
this._x = random(490);
this._y = random(325);
speck = random(100);
this._xscale = speck;
this._yscale = speck;
}
}

5. Create an empty movieclip that wil contain some of the code to randomise the line and circle movieclips. Press (Ctrl+F8) to create a new empty clip. Select Movielcip and name it base_MC. On the main stage open the Library panel (F11). Drag the base_MC onto the stage and position it off stage to the left. Click on the base_MC and press (F9) to open the actions panel, add the following code.

onClipEvent (enterFrame) {
this._parent.line._x = random(490);
for (i=0; i<=2; i++) {
this._parent.oval.duplicateMovieClip("oval"+i, i+1);
}
if (i=2) {
i = 0;
}
}

6. Line up all the movieclips i.e. controller, oval and line off the stage on the left.

Hope you enjoyed this small tutorial on how create old film grain effect with actionscript.
travel to india - kerala travel to india - Goa forums gatewa2internet ... myspace & home page gatewa2internet ... myspace & home page