Saturday, August 20, 2011


Blur Effect in Flash 8.0

Demonstration
Learn how to blur images in Flash 8.0 using the in-built blur filter. The download .fla is included at the end of the tutorial.
Please note:
1. You need to have Flash Player 8.0 installed to view the Flash animation.
2. You need Flash 8.0 to get the in-built blur filter

Steps to Follow :
Step 1: Import an image and create a movie clip
  • Open Flash 8.0. Select New/Flash Document.
  • Import the image you would like to blur by clicking on File/Import to Stage and select the image.
  • Select the image on the stage and choose Modify/Convert To Symbol. Name the symbol blur and choose Movie Clip as Type.
Step 2: Create the blur effect
  • Select the blur symbol on the stage.
  • In the Properties Inspector, choose the Filters tab
  • Click on the '+' icon and choose Blur.
  • Choose 100 for Blur X and Blur Y and Quality as Medium.
    blur filter
Step 3: Create the animation
  • In the timeline window right click on the 50th frame choose insert keyframe. Select the movie clip and change the blur filter X and Y values to 0 to remove the blur effect.
  • Select any frame between Frames 1 and 50 and select Motion from the tween pop-up menu in the Property inspector.
  • Press Ctrl+S to save your changes.
Press Ctrl+Enter to view your animation.
You can also blur only the X coordinates by removing the lock icon in the filters inspector and changing Blur X to 100 andBlur Y to 0. The effect can be seen below. You can try different blur effects by simply adjusting the blur X and blur Y values.
Demonstration for Blur X
Download the .fla file

SOURCE:

Zoom in Zoom Out Flash Animation with Fading Effect



Flash Zoom In & Zoom Out Animation with Fading Effect
This tutorial will teach you how to create a simple zoom in & zoom out animation with fade-in and fade-out effect in Flash. You can use this zooming effect on any image or text.
Please note:
1. You need to have Flash Player 8.0 installed to view the Flash animation.
2. You need Flash to create the animation.

STEPS TO FOLLOW

  • Open a new flash file (Ctrl+N). The New Document window will appear. Select General panel and choose Type: Flash Document. Press OK.
  • If your timeline window is not open, press (Ctrl+Alt+T). Now you can see a single Layer called "Layer1" in your timeline Window.
  • Select the first frame. Import a background image onto stage, preferably an image of a street by clicking onFile>Import>Import to Stage, or just press (Ctrl+R).
  • Press F8, to convert this image to a symbol. Name this Symbol "background_gr" and choose graphic behavior. Press OK. Name this Layer "bg". On the 35th frame press F6 to insert a new frame
  • Select the second layer. Import an image or create a shape of a car using shape tools from the tool box. Press F8, to convert this image to a symbol. Name this Symbol "car1_m" and choose movie clip (F8). Press OK. Name this Layer "car1".
  • Select the image(car1_m) >right click>edit in place. Now you will come to a new timeline Window called Symbol2
  • On Frame1 of Symbol2 convert the image to a graphic (car1_gr). Go to the Properties Bar>Color>Alpha>0%. In Frame5 insert a new Key frame (Press F6) and change Alpha to 100% and make the image small. Eg : Pic
  • Right click in between Frame1 and Frame5 and press motion tween.
  • Add one more Key Frame in Frame20. In this frame make the Image(car1_gr)bigger and move it out.
    eg:
  • On Frame25 insert a new key frame and change Alpha to 0% . Insert motion tween in between frame5-20 and Frame20-25. eg:
  • Now press (Ctrl+Enter) to view your motion tween.
  • Continue to do this for your other car images.
Remember to insert only ONE symbol/image in ONE new Layer only.
Congratulations! You have successfully created a Zoom In/Zoom Out animation with Fade In and Fade Out effect!

SOURCE:

Flash Fade In and Fade Out Effect



Flash Fade In & Fade Out Animation
Learn how to fade an image in Flash MX. You can use this fading effect on images and text and it is a very common Flash effect.
Please note:
1. You need to have Flash Player 7.0 installed to view the Flash animation.
2. Flash MX must be installed in your system.

STEPS TO FOLLOW

  1. Open a new file. Go to File >New. A Screen called New Document will appear. Select Flash Document and click on OK. Go to Modify>Document and give a file size of 300px by 200px. This is the same size as the Bitmap pictures we have.
  2. Select the Bitmap pictures that you want to Fade in and Fade out from your picture file and bring it to the Flash Library. Select File>Import to Library from the Menu Bar. A Screen named Import To Library will open. Choose the file name and click on Open. Repeat these steps for all the Bitmap pictures. To open Library, go toWindow>Library. You can see the pictures in the Library panel.

  3. Drag the picture from the Library panel to the Stage. Select the picture by clicking on it.
    Go to Modify>Convert To Symbol from the Menu Bar. A dialog Box named Create New Symbol will appear. Give the name as pic1_mc. Select Movie Clip. Click on OK.
  4. Click on your Movie Clip. Go to Frame 15. Insert a Keyframe. Right click on layer 1 in the middle of the frames 1 to frames 15. The frames will become black. Select Create Motion Tween. An arrow from frame 1 to frame 15 will appear. Again click on Frame 30. Insert a Keyframe. A second arrow will appear automatically.
  5. Click on Frame 1. Here we will give the fade in effect. Select the picture by clicking on it. Go to Properties in the panel below the Stage. Go to Color>Alpha give 0% to it.
     
    Your picture has faded in. Click on Frame 30. Here we will give the fade in effect. Select the picture by clicking on it. Go to Properties in the panel below the Stage. Go to Color>Alpha give 0% to it.
  6. Repeat the steps 3 to 5 in layer 2 from the frame 31 to 45 to 60. To make a new layer, click on the following button which is on the right side below the layers. Repeat the above steps for all the images in new layers and you will create a simple fade in and fade out Flash animation.
Press on Ctrl+Enter to see the Fade in & Fade out Effect of the 4 pictures.

SOURCE:
http://www.entheosweb.com/Flash/fade_in.asp

Bouncing Effect in Flash



Demonstration
This tutorial will teach you how to create a bouncing effect animation using Motion Tween and Shape Tween in Flash MX 2004. The .fla download file is included at the end of the tutorial.
Please note:
1. You need to have Flash Player 7.0 installed to view the Flash animation.
2. Flash MX 2004 or higher must be installed in your system to download the .fla file.

In the demonstration, the bouncing heart animation is created using motion tween and the shadow effect using shape tween.

TO CREATE MOTION TWEEN
Steps to Follow :
Create a Symbol
  • First draw an object for Motion Tween.
    Like in the above demonstration I used heart.
  • Select the object you have drawn and press F8 to convert this object to a Symbol.
  • In the Symbol window which appears now. Name this object heart_mc, choose Movie clip behavior and bottom center square for registration. Press OK.
Create a Motion Tween
  • Double click on the Layer and type "Heart".
  • Select Frame 30 and press F6 to insert a keyframe.
  • Select Frame 15 and press F6 to add another keyframe.
  • With the playhead still on Frame 15, hold the Shift key to move the heart_mc in a straight line, and drag the heart_mc up.
  • Select any frame between Frames 2 and 14 and select Motion from the tween pop-up menu in the Property inspector.
  • Select any frame between Frames 16 and 29 and select Motion from the tween pop-up menu in the Property inspector.
  • Press Ctrl+S to save your changes.
Create a Shape Tween
  • Insert a new Layer and call it "Shadow".
  • Select the first frame in the Shadow Layer, draw borderless shadow relevant to your Symbol.
  • If your Color Mixture Window is not open, press Shift+F9 to open it.
  • Select Eyedropper tool from your Tool box. Click it on your shadow. Now go to Color Mixture Window and type 25% for Alpha value.
  • Select Frame 30 and press F6 to insert a keyframe, then select Frame 15 and press F6 to insert a keyframe.
  • With the playhead on Frame 15, select the Free Transform tool. Slightly reduce the size of the Shadow.
  • With Frame 15 still selected, select the Eyedropper tool in the toolbar, and then click on your shadow object. Now go to Color Mixture Window and change Alpha value to 10%.
  • Select any frame between Frames 2 and 14 on the Shadow layer. In the Property inspector, select Shape from the Tween pop-up menu.
  • Select any frame between Frames 16 and 29 on the Shadow layer. In the Property inspector, select Shape from the Tween pop-up menu.
Now its time for Final touch up
  • Select Frame 1 of the Heart layer. Press F6 to add a keyframe. A new keyframe is added, and the playhead moves to Frame 2.
  • Go back to frame 1, select the Free Transform tool from your toolbox.
  • Select the transformation center point (the small circle near the center of the movie clip) and drag it to the bottom of the heart. On the Stage, drag the upper middle transform handle down to slightly compress the heart shape.
  • Right-click Frame 1 of the heart layer and select Copy Frames from the context menu. Go to 29th frame and press F8 to insert a new keyframe. Right-click 29th frame and choose Paste Frame from the context menu.
  • Click on the Stage, away from any objects. Type "28" in the Frame Rate text box of your Property inspector window.
  • On the heart layer, select any frame between Frames 2 and 14. Then in the Property inspector, in the Ease text box, type 100. Similarly select any frame between Frames 16 and 29 in the same layer, then go back to Property inspector window and type -100 in the Ease text box. Do the same thing to the Shadow layer.
Press Ctrl+Enter to view your animation.
Download the .fla file


SOURCE:
http://www.entheosweb.com/Flash/bouncing_effect.asp

Masking in Flash


Masking is revealing portion of your picture or graphic in the layer below.
While surfing through net you might have come across lots of beautiful Flash effects such as ripple effect , some wording with sky background or glitter bordering an object, and wondered "How? What is the logic behind this". The answer for all this is masking.
This tutorial will teach you the basics of masking in Flash MX 2004. The download .fla file is also included at the end of the tutorial.
Please note:
1. You need to have Flash Player 7.0 installed to view the Flash animation.
2. Flash MX 2004 must be installed in your system to download and view the .fla file.

I shall start this tutorial assuming that the reader has basic knowledge of flash such as Shape Tween and working with layers.
Okay! if you are ready, just follow the steps given below.

STEPS TO FOLLOW

Inserting Layers and Naming them
  • By default you will have a layer in your timeline window. Insert one more layer, totally you need two layers to mask an object.
  • Rename the top layer to "Mask" and the layer below that to "background".
Creating Shape Tween
  • Import your picture to the "background" layer.
  • Using Oval tool from your tool box, draw a circle in your "Mask" layer and delete it's border.
  • Drag the circle to one end of your picture.
  • Now go to"frame 40" of your "Mask" layer and press "F6" to insert a new keyframe.
  • Now go to "frame 40" of your "background" layer and press "F5" to insert frames, so that your background image is available all through your mask.
  • Select "frame 40" of your "Mask" layer, that is your new keyframe, Keeping the playhead on "frame 40" of "Mask" layer, drag the circle to other end of your picture.
  • Now go back to "frame 1" of your "Mask" layer, keeping the playhead on "frame 1" of your "Mask" layer, select Shape tween in your properties window. 
Masking
  • Right click on the "Mask" layer (the area where you named the layer not where the frames exist) and select Mask.
Your Mask is all ready. Press Ctrl+Enter to view your Mask.
Below is an example to give you more ideas on Masking.
Example
Download the .fla file

SOURCE:

Motion Guide in Flash

What is Motion Guide?
Motion Guide is nothing but moving your symbol in a predefined path such as curves or circles. Learn how to move Flash objects in circular, zig zag or curved paths using Flash motion guide. Download .fla is included at the end of the tutorial.



This tutorial will explain on how to create motion guide in Flash MX 2004.

Please note:
1. You need to have Flash Player 7.0 installed to view the Flash animation.
2. Flash MX 2004 must be installed in your system to download the .fla file.

Steps to follow :

  1. Create a graphic symbol or drag a pre-existing graphic symbol from library onto the stage. Name the layer as "graphic"
  2. Right click on the "graphic" label and select "Add Motion Guide" from the pop-up window.
  3. A new layer will appear on top of the "graphic" layer with the label "Guide:graphic" along with the guide icon.
  4. Draw the path for your symbol in this new layer using pencil or line tool.
    For example: I drew a circle for my car.
  5. Select frame 50 of guide layer and press "F5" to insert frames.
  6. Now go to "Frame 1" of "graphic" layer and drag your symbol to one end of your path. While dragging, you will see a bubble on the symbol. That bubble should go right below the path. Something like the one shown below.
  7. Now go to "Frame 50" of "graphic" layer and press F6 to insert a new keyframe.
  8. Now drag your symbol to other end of your path. Again, the bubble should go right below the path.
  9. Select any frame between 1 to 50 of your "graphic" layer. Right click and select "motion tween" from the pop-up menu.
That's it, you are through. Press Ctrl+Enter to view your work.
Download the .fla file

Source:
http://www.entheosweb.com/Flash/motion_guide.asp

Saturday, July 2, 2011

How to Connect to XAMPP/MySQL using Windows CMD [Command Prompt]


Work with MySQL terminalO
n our previous post, we have discussed about how to install LAMP Environment on your Windows PC easily using XAMPP. If you are a MySQL coder, or wish to learn it, then probably you have came to know about the MySQL terminal [or simply a command prompt in Windows]. Basically it is the best MySQL tool for any newbie user. You have type all your SQL Queries here manually and this way you can actually learn faster.

Sunday, June 26, 2011

The Computer Generations


In the beginning ... 
        A generation refers to the state of improvement in the development of a product.  This term is also used in the different advancements of computer technology.  With each new generation, the circuitry has gotten smaller and more advanced than the previous generation before it.  As a result of the miniaturizationspeedpower, andmemory of computers has proportionally increased.  New discoveries are constantly being developed that affect the way we live, work and play.

Networking

IP Addressing So what’s a TCP/IP Address? TCP/IP address works on the Network and Transport layer of the OSI-ISO reference model and Intern...