Saturday, January 13, 2007

DuplicateMovieClip() method in Flash

I've just found out that the duplicateMovieClip() method in Flash can be used to create interesting text effects easily. In this post, I will introduce a simple text effect using this method.

However, firstly, I will show how to change a content of a movie clip from outside. This technique is often used with the duplicateMovieClip() method to create variants of the original movie clips.

Now, I create a movie clip named "clip". In this movie clip, there is only a dynamic text box which is named "char". The content of the dynamic text box doesn't matter (I chose the letter 'A').


Now, we drag the movie clip into the stage and press Ctrl-Enter, it will show the letter 'A'. To change the content of this "clip" movie clip using ActionScript, we only need to type 1 of 2 lines of code into frame 1.

clip.char.text = "B";
or
set("clip.char.text", "B");

I prefer the way using the set() method as it is more flexible. You can do something like this set("clip.char"+".text","B").

So, it's time to use the duplicateMovieClip() method. This method has 3 parameters which are the name of the original movie clip, name of the copy and the depth (a movie clip having a bigger depth will be shown on top of the movie clip having a smaller depth). For example, to show a string "PHONG" (my name) on the screen, we use this code:

str = "PHONG";
size = length(str);
i = 1;

// hide the original movie clip
setProperty("clip", _visible, false);

for (i = 1; i <= 5; i++){
// create a copy of the original movie clip
duplicateMovieClip( "clip", "clip"+i, i );

// set the content of the copy
set("clip"+i+".char.text", substring(str,i,1));

// set the location of the copy on the screen
setProperty("clip"+i, _x, 20*i);
setProperty("clip"+i, _y, 100);
}

This is the source file for this text effect.

Friday, January 12, 2007

Photoshop's wave effect

Step 1: create a new Photoshop file with 400x400 pixels in size. White is chosen for the background colour.
Step 2: Filter/Render/Clouds (this is the most common step in generating a background picture in Photoshop.)



Step 3: Filter/Pixelate/Mezzotint. I choose Long Stroke in the Type box.

Step 4: Filter/Blur/Radial Blur with amount = 100, Blur Method = Zoom and Quality = Best. Press Ctrl-F 2 times to apply this effect 2 more times.




Step 5: Filter/Distort/Wave. You can experience changing numbers in the option box to create different results. This is my choice:






Step 6: Now, I apply colours for the picture by using Image/Adjustments/Hue&Saturation



Step 7: Dupplicate the layer, Image/Rotate Canvas/Flip Canvas Horizontally for the layer on top. Change the blending mode of this layer into Overlay and reduce its opacity as well. This is the result:





Step 8: Merge 2 layers together, repeate step 7 for the new layer but use the Flip Canvas Vertically and the Vivid Light blending mode.

Saturday, January 06, 2007

Graffiti

According to Wikipedia, "graffiti is the unofficial application of graphics on publicly viewable surfaces" such as on building's walls. Although graffiti has a long history with the first apperance in ancient Greek and Romans thousands ago; in this post, I only post artworks of modern graffiti which is an element of the Hip-hop culture.






References:
http://en.wikipedia.org/wiki/Graffiti
http://www.graffiti.org/trains/2007trains/emit_fr82006.jpg
http://www.graffiti.org/caos/caos_21.jpg
http://www.graffiti.org/rezine/geneve_dris_ep_cru_033.jpg

movies plot summary

I post some plot summaries of movies an which we have for the final flash assignment. These information are from the www.imdb.com.

Un Chien Andalou
Plot: This film uses a non-linear structure; so it doesn't have a real plot. The whole film is "a series of unrelated, and at times potentially offensive, scenes that attempt to shock the
viewer." (Wikipedia.org)
Casts:
Simone Mareuil
Pierre Batcheff
Luis Bunuel
Salvador Dali
Robert Hommet
Marval
Fano Messan
Jaime Miravilles

Der Golem
Plot: In this film, the Golem - a clay statue in the Jewish religious - was brought back to life by an antique dealer. It felt in love with the dealer's wife. And because of the rejection of her, it began a muderous rampage. (www.imdb.com)
Casts:
Paul Wegener
Rudolf Blumner
Robert A. Dietrich
Carl Ebert
Henrik Galeen
Lyda Salmonova
Jakob Tiedtke

The Cabinet of Dr. Caligari
Plot:
Jane's car breaks down and she makes her way to a nearby estate, owned by a mysterious man named Caligari. Soon she finds that she has become a virtual prisoner, and none of the strange inhabitants of the estate are willing or capable of helping her escape. Caligari reveals himself as a passive pervert, showing her filthy pictures, spying on her, and trying to make her talk about intimate details of her life. She attempts to free herself by the only means at her disposal. (summary written by Ed Sutton, www.imdb.com)
Casts:
Glynis Johns
Dan O'Herlihy
Richard Davalos
Lawrence Dobkin
Constance Ford
J. Pat O'Malley
Vicky Trickett
Estelle Winwood
Doreen Lang
Charles E. Fredericks
Phyllis Teagardin

Carnival of Souls
Plot: A group of teenagers lose control of their car which plunges off
a bridge into a river. They must be dead, think the local
townsfolk but out creeps a survivor who attempts to carry on
with life as she knows it. (summary written by Scott Dawson, www.imdb.com )
Casts:
Candace Hilligoss
Frances Feist
Sidney Berger
Art Ellison
Stan Levitt
Tom McGinnis
Forbes Caldwell
Dan Palmquist
Bill de Jarnette
Steve Boozer
Pamela Ballard
Larry Sneegas
Cari Conboy
Karen Pyles
T.C. Adams

Reference:
http://www.imdb.com
http://en.widipedia.org/wiki/Un_chien_Andalou