Slider Menu bar Using Flash Action script 1.0

Friday, March 9th, 2012 flash, web design, web design tips

Final Preview:

Step-1 Open a new document in the dimension of 500X53.

Step-2 creates a Menu buttons (I have created 5 buttons)in layer-1, change it into “button” and give instance name it as button1, button2, button3, button4 and button5 respectively.

slider-menu-1

Step-3 Select “button1” and write the following code on the “action script Panel” (F9).

button-code

Step-4 Repeat the step-3 for remaining buttons. Only change the button names in the script.

Step-5 In layer-2, draw a line and slider. Convert the slider into “movieclip” and give the instance name as “Slider”. Also write the following script in “action script panel”.

slider-code

slider-menu-2

Step-6 Create a new layer and place the below code:

action-script-codeCtrl + Enter to run the program.

TAGS: , ,

Sprite Control Using Keyboard in Flash Actionscript

Thursday, March 1st, 2012 flash, web design, web design tips

Final Preview:

Use Keyboard Arrow Keys to move up, bottom, left, right.

Step-1 Open a new document in Flash.

Step-2 Create a boy head or whichever you like.

Step-3 Convert it into “movie clip” and name it as “sprite”.

Step-4 Write the following action script in a new layer, Key frame-1.

spriteDirection = 0;

setInterval(function () {

if (Key.isDown(Key.RIGHT)) {

setDirection(0);

_root.sprite._x += 3;

}

if (Key.isDown(Key.LEFT)) {

setDirection(1);

_root.sprite._x -= 3;

}

if (Key.isDown(Key.DOWN)) {

_root.sprite._y += 3;

}

if (Key.isDown(Key.UP)) {

_root.sprite._y -= 3;

}
updateAfterEvent(); }, 10);

action-script-for-sprite

TAGS: , ,

Makeup of Pot Paint Dancers using Photoshop

Friday, February 24th, 2012 Photoshop, Photoshop tips, web design, web design tips

Final Preview:

makeup-of-pot-paint-dancers-using-photoshop-final-preview

Step-1 Open a new document in Photoshop. Set background color as black. Use 300 size radius sponge brush and set grey as foreground color then click at the center of the document to bring the below effect.

makeup-of-pot-paint-dancers-using-photoshop

Step-2 Like above uses the 300 size radius sponge brush, click with few different colors which you like. Here I used green, blue, and red.

makeup-of-pot-paint-dancers-using-photoshop

Step-3 Place the grunge texture above the colors and set the blend mode to Overlay.

makeup-of-pot-paint-dancers-using-photoshop

Step-4 Place the few colors pot as like below. Here I took a pot and gave Hue/saturation for remaining pot to change its color.

makeup-of-pot-paint-dancers-using-photoshop

Step-5 Browse Paint tossing images and download it and place it above the pots.

makeup-of-pot-paint-dancers-using-photoshop

Step-6 Like above, browse zentai dancers images and download it. Go to Filter –> Filter gallery –> Plastic Wrap. Then erase the bottom of the dancers using sponge brush. Place it overlap to the paint tossing.

makeup-of-pot-paint-dancers-using-photoshop

Step-7  At the background pattern it with few brush styles.

makeup-of-pot-paint-dancers-using-photoshop

Hope you like this….

TAGS: , , , ,

Create an Upholstery Pattern Using Illustrator

Friday, February 17th, 2012 Illustrators, web design, web design tips

Final preview:

upholstery-pattern-illustrator

Step-1 Draw a rectangle in an illustrator document and fill gray like color.

upholstery-pattern-illustrator-1

Step-2 Go to Object > Create Gradient Mesh and give the number of rows and columns you required.

upholstery-pattern-illustrator-1

Step-3 Select the nodes of the mesh in checker wise direction using direct selection tool.

upholstery-pattern-illustrator-1

Step-4 Change the color of the nodes to dark gray.

upholstery-pattern-illustrator-1

Step-5 Don’t leaves the selection of nodes. Go to Object > Transform > Move.

upholstery-pattern-illustrator-1

Step-6 Create a line using pen tool as shown below.

upholstery-pattern-illustrator-1

Step-7 fills it with gradient colors of black shades.

upholstery-pattern-illustrator-1

Step-8 Go to Object > Transform > Reflect and hit the Copy button.

upholstery-pattern-illustrator

Step-9 Go to Effect > Distort & Transform > Transform and set the parameters as shown below.

upholstery-pattern-illustrator-9

Step-10 Duplicate the line and cover the entire upholstery.

upholstery-pattern-illustrator-1

Step-11 Draw a rectangle in the size of upholstery. Select all the objects and go to Object > Clipping Mask.

Step-12 Decorate it with ornamental nails.

upholstery-pattern-illustrator-11

TAGS: , , ,

how to use water color in photoshop cs5

Monday, February 6th, 2012 Photoshop, Photoshop tips, web design, web design tips

Step 1

Open Photoshop and create a new document, I’m using 1920×1200 pixels.

Step 2

Add a new layer, fill it with white then make sure you have black and white for the foreground and background colors. Then go to Filter>Texture>Texturizer. Use Canvas for the Texture, 75% for the Scaling, 3 for the Relief and for the Light choose Top Right.

Step 3

Let’s add a nice texture. You can use the image of your choice.  Place the image in the document on top of the other layers. After that, change the Opacity to 75%.

Step 4

Now let’s place an image in our document. I’m using a photo of a guy walking in the field . The image has to go beneath the texture layer. After that go to Layer>Group Layer. The layer of the image will be inside a folder in the Layer Palette. Select the folder and go to Layer>Layer Mask>Hide all.

Step 5

The image is hiding because of the mask. So now, let’s use some Watercolor Brushes. So select one of the watercolor brushes and them white for the color and paint on the layer mask of the group. You will notice that the image will start showing.

Step 6

Pick another Brush and paint again.

Step 7

Let’s just adjust the color of the image. Select the image and go to Image>Adjustment>Photo Filter. Select Warning Filter (85) and 55% for the Density. Also select the Preserve Luminosity option

Conclusion

Just place your logo and that it you will have a really cool effect and super simple to achieve. That can be used for website headers to create a simply awesome design, and, of course to create posters. Also you can reduce the opacity of the paper texture. I reduced to 50%, that way we can drive the viewer’s attention to the watercolor effect.

Poster from the words in photoshop cs5

Friday, January 27th, 2012 Photoshop, Photoshop tips, web design, web design tips

First we are going to create a new document in Photoshop with 1000×1000 pixels with all the default settings. Fill the background layer with black color.

Step 2

Select Horizontal Type Tool and place any text (white color, caps on) filling all background as you can see below. Only use one text layer.

Rotate text 45 degrees CW by going to Edit > Transform > Rotate.

Step 3

Open photo and copy it to our canvas over text layer. Go to Edit > Free Transform and resize photo to something similar to what I have.

Select text from text layer (Ctrl+left click on text layer thumbnail in layers). Press Ctrl+Shift+I to invert selection. With selection active, select photo layer and press Delete to clear selection contents.


Press Ctrl+D to deactivate selection.

Apply Image > Adjustments > Brightness/Contrast.

Step 4

Create a new layer. Select Horizontal Tool (Arial, white color, 55px) and write something like “DJ Music!”. Create a second new layer and write “Only best hits!” (Arial, white color, 25px).

Rotate text 45 degrees CW by going to Edit > Transform > Rotate on both layers.

Apply Layer > Layer Style > Blending Options > Outer Glow to both layer to make it more readable.

Final Image

This tutorial is now finished and you got a great effect!

 

Photoshop CS5: How to Create Actions

Friday, January 20th, 2012 Photoshop, Photoshop tips, web design tips

Recording an action in Photoshop CS5 is incredibly simple. Simply open up the “Actions” palette and hit the new action button seen in the image below.

This should pop open a new window containing various options for the action. Here you can name the action and place it in a set. You can also assign a keyboard shortcut that will activate the action immediately in Photoshop CS5. This is quite handy for those actions you find yourself using on a daily basis.

Once you hit “Record” in the window above, all that’s left is to carry out the steps you’d like to be recorded in the action. Keep in mind that selection sizes, saving and other very specific steps will be replicated exactly in the action. Try to keep your steps generic enough that they’ll work on the full range of images you’ll need the action to apply to.
When you’ve finished carrying out all the desired steps, hit the “Stop” button in the action menu. Then hit the “Play” button to perform the action on another file.

TAGS: ,

Rotating Text in 360 degree Using Flash

Wednesday, January 4th, 2012 flash, web design, web design tips

Step-1 Open a new document in flash.

Step-2 Set background color as black

Step-3 Type the first letter of your text in layer-1 and convert it into graphic.

Step-4 Again converts it into movieclip. Right click on movie clip and select “Edit in place” option.

Step-5 Select key frame from 1 – 30 and press F6.

Step-6 In key frame-1, do right click and select “create Classic Tween”. Make slight rotation using “free transform tool”. Repeat this step till the text get full rotate about 360 degree. In the main scene select first letter (here R) and press F9 to open the “action panel”, then write the following script to stop and play while rollover and rollout respectively.

on (rollOver)

{

stop();

}on (rollOut)

{

play();

}

 

 

Step-7 Do the above steps for remaining letters.

Final Preview:

TAGS: , ,

How To Use The Article Element – HTML5

Monday, December 26th, 2011 HTML, web design, web design tips

The <article> tag is new to HTML5 and it replaces <div> tag. It specifies self-contained content in a document, page or in a site. This can be use in Blog post, Magazine article, comments or in widgets.

How To Use The Article Tag:

<article>
<h1>heading</h1>
<p>content</p>
</article>

 

Coding:

<html>
<head>
<title>How To Use The Article Element – HTML5</title>
</head>
<style>
.wrapper{color:#000; width: 800px; }.wrapper article{ color:#FFF; font: Arial, Helvetica, sans-serif; font-size:14px; background-color:#3a3a3a; padding: 0px 20px 12px; border: #01a2e5 solid 0.01em;}.wrapper article p { color:#11a6dd;}
.wrapper article h3 { font-family: “Times New Roman”, Times, serif; color: #FFF;}
</style>
<body >
<div class=”wrapper”>
<article>
<h3>Heading</h3>
<p>Lectus aliquet penatibus ac mid nec elementum augue ridiculus nascetur? Cursus urna facilisis turpis aliquam porttitor, turpis egestas arcu, adipiscing nisi mus diam, cursus, urna scelerisque, nunc amet sociis elementum, placerat ac!</p>
<p>Sed, ac risus tincidunt scelerisque quis turpis a pulvinar amet? Aliquet cum porttitor integer enim odio non, tristique, duis nec dapibus integer</p>
</article>

</div >

</body>

</html>

 

Final Preview:

Heading

Lectus aliquet penatibus ac mid nec elementum augue ridiculus nascetur? Cursus urna facilisis turpis aliquam porttitor, turpis egestas arcu, adipiscing nisi mus diam, cursus, urna scelerisque, nunc amet sociis elementum, placerat ac!

Sed, ac risus tincidunt scelerisque quis turpis a pulvinar amet? Aliquet cum porttitor integer enim odio non, tristique, duis nec dapibus integer

TAGS: , ,

Skew Text Using Flash Action Script

Monday, December 12th, 2011 flash, web design

Step-1 Open a new document in flash.

Step-2 Writes the following script in Key frame 1 – action script panel (F9).

inputString = “Skew Text”;
letterWidths = new Array(0, 55, 35, 20, 40, 40, 40, 50, 40, 40, 20, 40, 35);
offset = 65;
for (count = 0; count < inputString.length; count++)
{
    attachMovie(“skewtext”, “letter” + count, count);
    thisLetter = this["letter" + count];
    offset = offset + letterWidths[count];
    thisLetter._x = offset;
    thisLetter._y = 150;
    thisLetter.topLetter.midLetter.rawLetter.text = inputString.charAt(count);
    storeHeight = thisLetter._height;
    storeWidth = thisLetter._width;
    thisLetter.letterWidth = letterWidths[count + 1];
    thisLetter.skewAxis = 1;
} // end of for
mouseListener = new Object();
Mouse.addListener(mouseListener);
_root.skewMeX = function (skewTarget, degrees)
{
    var _loc1 = skewTarget;
    skewAmt = 1 / Math.tan(0.017453 * degrees / -2);
    _loc1.topLetter.midLetter._rotation = 45 * skewAmt / skewAmt;
    _loc1.topLetter._xscale = skewAmt * 100;
    _loc1.topLetter._rotation = -1 * skewAmt / skewAmt * Math.atan(1 / skewAmt) * 180 / 3.141593;
    newHeight = Math.sin(-2 * Math.atan(1 / skewAmt)) * storeHeight * -1;
    _loc1._xscale = 100;
    _loc1._yscale = 100;
    newScale = 100 * newHeight / _loc1._height;
    _loc1._xscale = newScale;
    _loc1._yscale = newScale;
};

Step-3 Here I had set background image by importing (Ctr l + Enter) into stage.

Step-4  Ctrl + Enter to run the program.

Final Preview:

TAGS: , , ,

Quick Search

 

Calendar

May 2012
M T W T F S S
« Apr    
 123456
78910111213
14151617181920
21222324252627
28293031