web design

Current Web designing Comics Trend – 2016

The dominant means of designing visually rich Web sites, the use of tables is now actually interfering with building a better, more accessible, flexible, and functional Web.

webdesign
image-3227

Table Layout

A web designer is responsible for creating a site or pages, this includes the design, layout and coding, this can mean working on a brand new website or updating an already existing site

web
image-3228

Web Designer

The Web server returns the “HTTP 404 – File not found” error message when it cannot retrieve the page that was requested.

server
image-3229

404 error

A group of World Wide Web pages usually containing hyperlinks to each other and made available online by an individual, company, educational institution, government, or organization

web
image-3230

Website

 

Tags: , ,

Drawing Realistic ice Cubes

ice_01
image-2418

Lineart

Make interesting composition and forms with liners

 

ice_02
image-2419

Gradient

Fill your object with base colour (dominant colour). and gradient (from light to dark), and lock your layer (transparent pixels)

 

ice_03
image-2420

Light

You need to decide on a light source

 

ice_04
image-2421

Shadow

Add more depth to your object with shadows don’t try to make any details on this stage

 

ice_05
image-2422

Details

Choose hard brush with light blue colour (near white) put your feelings, you make beauty on this stage

 

ice_06
image-2423

Reflection

It looks more volume, realistic and beautiful with reflection

Tags:

Best Useful Css Tips (For beginners)

Use Shorthand Css

Shorthand CSS gives you a shorter way of writing your CSS codes, and most important of all – it makes the code easier to understand.

Instead of creating CSS like this

img1
image-2342

It can be short-handed into the following:

img2
image-2343

Understanding Class And ID

These two selectors repeatedly confuse beginners. In CSS, class is represented by a dot.” while id is a hash#“. In a nutshell id is used on style that is distinctive and don’t repeat itself, class on the other side, can be re-use.

Forget <Table>, Try <Div>

One of the greatest advantages of CSS is the use of <div> to attain total flexibility in terms of styling. <div> are unlike <table>, where substances are ‘locked’ within a <td>‘s cell. It’s safe to say most  <table> layouts are attainable with the use of <div> and proper styling, well maybe except considerable tabular contents.

CSS Padding

Padding is the space between the border of an HTML element and the content within it.

Padding of an element in a single property as follows:

padding: 10px 10px 10px 10px;

If you declare all four values as above, the order is as follows:

Top, right, bottom, left

 

Tags: , , ,

Friday, May 10th, 2013 web design, web design tips No Comments

Shooting the Missiles Using Action Script on Flash 3.0


Step 1: Open a new document in flash. Set the stage color as black.
Step 2: Choose Window > Properties from the main menu bar to open the PROPERTIES panel.
Step 3: Expand the Properties section in the panel and choose the Edit button to enlarge the Document Settings window. Next, set the width to 550 px and height to 450 px in the PROPERTIES panel, as shown in Figure below. Choose the Ok button.

image-2285

 

 

 

 

 

 

 

 

Step 4: import an image to perform the action script. Choose File > Import > Import to stage from the main menu bar and Import the unzipped images file. The three files will be imported to the stage, as shown in Figure below.

image-2286

 

 

 

 

Step 5: Perform some actions to this image. From the timeline create new layer to the name them as figure follows

image-2287

 

 

 

 
Step 6: Now we will use some action script. To make the thumbnails function and to rotate them around the main image.
Code 1:

image-2288

Code 2:

image-2289

Code 3:

image-2290

Code 4:

image-2291

Code 5:

image-2292

Code 6:

image-2293

Code 7:

image-2294

Tags: , , , , ,

Monday, November 26th, 2012 Flash, Photoshop, web design, web design tips No Comments

Shake Effect on Action Script Using Flash 3.0

Step 1: Open a new flash file. Choose Window > Properties from the main menu bar to open the PROPERTIES panel.
Step 2: Expand the Properties section in the panel and choose the Edit button to enlarge the Document Settings window. Next, set the width to 550 pixels and height to 300 pixels in the
PROPERTIES panel, as shown in Figure below. Choose the Ok button.

image-2266

 

 

 

 

 

 

Step 3: Now we need to draw an oval for masking. Select the Oval tool from tools. Draw an circle in the document.

image-2267

 

 

 

 

 

 

 

Step 4: Fill the color (#99FFFF) inside the oval. And name the document on left-top as shake effect on Action Script.

image-2268

 

 

 

 

 

 

 

 

 

Step 5: Place the button on the document and give instance name it Reset as figure shown below.

image-2269

 

 

 

 

 

 

 

 

Step 6: Create a timeline for layer 1 and name it as player.

image-2270

 

 

 

 

Step 7: Create another layer for controlling effects and named it as controls. And for frame select the rectangle tool from toolbar.

image-2271

 

 

 

Step 8: Create a fourth layer for Performing Action Script.

image-2272

 

 

 

 

Step 9: Type the following Action Script in Layer-4(Action Script).

image-2273

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Step 10: Import shake effect images to library. Images name should be same as in library and script. Go to library panel and right click on each image. Choose Properties à Linkage. Check the “Export for Action script” option. And run the program.

Tags: , , , , ,

Monday, November 19th, 2012 Flash, Photoshop, web design No Comments

Masking The Images On Action Script Using Flash cs4

Step1: open a new flash file. Set the width to 465 pixels and the height to 232 pixels. And set frame rate to 24fps.

image-2130

 

 

 

 

 

 

 

Step 2: By using the rectangle tool draw a rectangle. And import the image for background (file ->import -> import to stage) set as background image.

image-2131

 

 

 

 

 

 

 

Step 3: Now, we need to place the buttons on left-side of the background image to perform action controls. Import the images from file menu. Place 4 buttons as figure shown below

image-2132

 

 

 

 

 

 

 

Step 4: Name the buttons for its relevant actions as shown below

image-2133

 

 

 

 

 

 

 

Step 5: To convert the image into a MOVIE CLIP (Movie Clip Symbol) called “background”, by pressing F8.

image-2134

 

 

 

 

 

 

 

 

 

 

 

Step 6: Now we need to mask the feature for visually cropping display objects within a shape as image shown below.

image-2135

 

 

 

 

 

 

 

 

 

Step 7: To convert the image into a MOVIE CLIP (Movie Clip Symbol) called “background”, by pressing F8.

image-2136

 

 

 

 

 

 

 

 

Step 8: From the cropping image to mask the layer and perform some actionscript towards the masking as image shown below

image-2137

 

 

 

 

Step 9: The image should now be masking the image, as shown below.

image-2138

 

 

 

 

 

 

Step 10: create a timeline to demonstrate the following function.

image-2139

 

 

 

 

Step 11: now we need to focus on second button i.e. mask. The process involves creating a shape and applying it to the “mask” property of another display object.

image-2140

 

 

 

 

Step 12: Masks can stay stationary while the object is being masked move or masks can animate above the object to create transitions and special effects as shown below

image-2141

 

 

 

 

 

Step 13: Now, create a new MOVIE CLIP (Insert > New Symbol) called “thumb0” and create 2 layers called “image” and “mask”. Drag the thumbnail thumb_0 on to the “image” layer, placing it at the position shown below.

image-2142

 

 

 

 

 

 

 

Step 14: then the image will mask the two layers with the movie clip that has been shown in the following image.

image-2143

 

 

 

Step 15: Right click on the “mask” layer and chose “mask”.

image-2144

 

 

 

 

 

 

 

 

 

Step 16: On the mask layer two layers have combined to perform the mask function as figure shown below.

image-2145

 

 

 

 

 

 

Step 17: Then the image Holder MC and delete the image Movie Clip inside of it. This is because we will be adding the image dynamically with action script.

image-2146

 

 

 

 

 

 

Step 18: Then the image Holder MC and delete the image MC inside of it. This is because we will be adding the image dynamically with action script as shown below.

image-2147

 

 

 

 

 

 

Step 19: When all the thumbnails have been added, go back to the Movie Clip and give the thumb Holder Movie Clip the instance name “background”.

image-2148

 

 

 

 

 

 

 

Step 20: Now we need to drag the mask on the right window. By using this drag mask we can able to drag the mouse cursor on the screen as figure shown below.

image-2149

 

 

 

Step 21: Now we need to make spiral movie clip on the right window to mask the two given layer as the figure shown below.

image-2150

 

 

 

 

 

 

 

Step 22: To create the mask frame to function the mask frame on the layer style as figure shown below.

image-2151

 

 

 

 

 

 

 

Step 23: To rotate the thumbnails with action script, the thumb Holder MC will be rotate so that each thumbnail doesn’t have to be rotated individually. Setting the registration point to the center makes sure the MC will rotate from the center. Press F8 to perform the action as figure shown below.

image-2152

 

 

 

 

 

 

Step 24: Setting the registration point to the center makes sure the MC will rotate from the center. Press F8 to perform the action as figure shown below.

image-2153

 

 

 

 

 

 

Step 25: Last layer to perform no function to be done to make the screen idle.

image-2154

 

 

 

 

 

 

 

Step 26: Now we will use some action script. To make the thumbnails function and to rotate them around the main image.
Code 1:

image-2155

 

 

 

 

 

 

 

 

 

 

 

code 2:

image-2156

 

 

 

 

 

 

 

 

 

 

 

 

Code 3:

image-2157

 

 

 

 

 

 

 

 

 

Code 4:

image-2158

 

 

 

 

 

 

 

 

 

 

 

 

Code 5:

image-2159

 

 

 

 

 

 

 

 

There are three types of masks which is displayed above flash file. Click the buttons to see the different effects.

Tags: , , , , ,

Friday, October 26th, 2012 Flash, web design No Comments

Lightening And Masking Techniques Using Flash


Step 1: open a new flash file. Set the width to 500 pixels and height to 300 pixels. Choose window -> properties from main menu bar, the properties panel is displayed.
Step 2: choose the Edit button under the properties tab to display the document settings window. Set the width to 500px and height to 300px and click ok button to set the stage size.

image-2099

 

 

 

 

 

 

 

 

step 3: Choose file -> import -> import to stage from the main menu, the ALIGN panel will be appear as like the figure below.

image-2100

 

 

 

 

 

 

 

Step 4: select the image and then select the Align to stage checkbox from the ALIGN panel. And select the second button from left under the ALIGN and the distribute area. Image will be displayed to stage.
Step 5: Then convert the images into symbol, choose Modify -> Convert to Symbol from the main menu bar, the Convert to Symbol window is displayed; as shown in Figure below. Rename the movie clip as car and choose the OK button.

image-2101

 

 

 

 

 

Step 6: select the car movie clip, and then choose Window -> Properties from the main menu bar to display the PROPERTIES window. Maximize the COLOR effect tab and select Advanced from the Style drop-down list. Enter the values as shown in the figure below.

image-2102

 

 

 

 

 

 

 

 

Step 7: Now select the movie clip and expand the FILTERS tab from the PROPERTIES window and add Blur filter to it with the values as shown below.

image-2103

 

 

 

 

Step 8: After adding the properties, the car movie clip will appear as shown in Figure below. Now set the background effect for the car, and then rename the layer as background effect.

image-2104

 

 

 

 

 

 

 

 

Step 9: Create a new layer and name it as blending, and then drag the car image from the library, place it exactly over the stage area. Make it as a movie clip symbol with the name car-blending.
Step 10: Maximize the DISPLAY tab to select Hard Light blending option from the Blending drop down list. Before that make sure, whether PROPERTIES panel is displayed and the car-blending movie clip is selected.
Step 11: maximize the FILTERS tab and add the Glow filter to the car-blending movie clip. To get the desired effect set the parameters in the FILTER tab.

image-2105

 

 

 

 

 

 

 

Step 12: For the Color parameter in the Glow filter type use the hex value as #462953.
Step 13: On adding the glow filter to the car-blending movie clip the car on the stage area will be displayed as

image-2106

 

 

 

 

 

 

 

 

 

Step 14: Create a new layer with the name lightening, and then choose Insert -> New Symbol from the main menu bar to create a new symbol. And then rename the new symbol to lightning and set the symbol type to Movie clip and choose the OK button. Now a blank new movie clip is created.
Step 15: Choose the Brush Tool from the toolbar and create some brush strokes in the stage area as shown below

image-2107

 

 

 

 

 

 

 

Step 16: Now, set a new keyframe on frame 7 and create some brush strokes as like the figure shown below.

image-2108

 

 

 

 

 

 

 

Step 17: Now, set a new keyframe on frame 15 and create some brush strokes as like the figure shown below.

image-2109

 

 

 

 

 

 

 

Step 18: Now, set a new keyframe on frame 22 and create some brush strokes as like the figure shown below.

image-2110

 

 

 

 

 

 

 

 

Step 19: Now, set a new keyframe on frame 29 and create some brush strokes as like the figure shown below.

image-2111

 

 

 

 

 

 

 

 

Step 20: Now, set a new keyframe on frame 29 and create some brush strokes as like the figure shown below. We can also add yellow color as the stroke color.

image-2112

S

 

 

 

 

 

 

tep 21: Now, set the shape tweening between the all the keyframes. Then create a new layer, and then create random strokes which created on above with two colors with the position of the keyframes exactly at the same position and add shape tweening between the keyframes. The timeline is shown below.

image-2113

 

 

 

Step 22: Now, add Blur Filter to the movie clip in the PROPERTIES panel and set the Blur X and Y values to 10 and Strength to High. Go back to the main stage and create a new layer. Create a blank movie clip with the name white strokes.
Step 23: Select the Rectangle Tool from the main menubar and create 5 rectangles randomly. Add linear gradient to it in the sequence transparent, white, and transparent, and then arrange them like a figure as shown below

image-2114

 

 

 

 

 

 

 

Step 24: Press F6 to create keyframe. Rearrange the rectangle streaks as shown below

image-2115

 

 

 

 

 

 

 

Step 25: Press F6 again to create keyframe. Rearrange the rectangle as shown below.

image-2116

 

 

 

 

 

 

 

Step 26: Now, Go back to the main stage area and press CTRL + T to activate the TRANSFORM tab. set the rotate value to 20 degrees.
Step 27: Then, create a new layer and rename it as mask. Now create a sketch the image that is shown in the Figure below such that the car image can come exactly in between it.

image-2117

 

 

 

 

 

 

 

 

 

Step 28: Next, make sure that the layers are placed exactly in its position as shown below

image-2118

 

 

 

 

 

Step 29: Next, select the layer named mask and right click over it and choose the Mask option from the flyout to mask the underneath layer. Publish the file by pressing CTRL + ENTER to get the animation effect as like below

image-2119

 

 

 

 

 

 

 

 

 

Step 30: Finally we animate the car to get more life into the animation.

Tags: , ,

Friday, October 12th, 2012 Flash, Photoshop, web design No Comments

Flying Birds On Scenery Using Flash Motion Tweening

Step 1: Open a new flash file. Set the width to 450 pixels and the height to 239 pixels, set movie’s frame rate as 34 from the properties panel and click ok.

image-2048

 

 

 

 

 

Step 2: Set any background color for the document.
Step 3: To set the background image, choose File -> Import -> Import to stage (ctrl+R) and select the image. Call the current layer background, double click on it to change the layer name as Background.
Step 4: While the image is still selected, goto Align panel (ctrl+K) and follow the steps below:

image-2049

 

 

 

 

 

1.Make sure that Align/Distribute to stage button is turned on,
2.Click on the Align horizontal (Center)button and
3.Click the Align vertical button.
Step 5: Now click on Frame 100 and press F5 key.
Step 6: Create a new layer above the background layer and named it as Bird. Now we need to draw an bird body without wings using Line Tool and Paint Bucket Tool as shown below,

image-2050

 

 

 

After creating the bird body, Select the layer and press F8 key to convert it into Movie clip symbol.

image-2051

 

 

 

 

 

Step 7: Select the bird body layer and double click on it, specify the name as birdbody from the default name (layer 1).
Step 8: Click on the frame 30 and press F5 Key.
Step 9: Now, we need to create feather animation, so create a new layer above the layer birdbody and named it as feather1.
Step 10: Draw a feather of a bird using the Line tool and paint bucket tool.

image-2052

 

 

 

 

Step 11: Select the frame 2 and press F6 key. After pressing the F6 key set the feather shape as shown below.

image-2053

 

 

 

 

Step 12: Now select the frame 4 and press F6 key. Then set the feather shape on the position like this image as shown below.

image-2054

 

 

 

Step 13: Now click on frame 6 and press F6 key. And make the feather shape like this

image-2055

 

 

 

Step 14: Now click on frame 8 and press F6 key. And make the feather shape like this

image-2056

 

 

 

Step 15: Now click on frame 10 and press F6 key. And make the feather shape like this

image-2057

 

 

 

Step 16: Now click on frame 12 and press F6 key. And make the feather shape like this

image-2058

 

 

 

Step 17: Now click on frame 14 and press F6 key. And make the feather shape like this

image-2059

 

 

 

Step 18: Now click on frame 16 and press F6 key. And make the feather shape like this

image-2060

 

 

 

Step 19: Now click on frame 18 and press F6 key. And make the feather shape like this

image-2061

 

 

 

Step 20: Now click on frame 20 and press F6 key. And make the feather shape like this

image-2062

 

 

 

Step 21: Now click on frame 22 and press F6 key. And make the feather shape like this

image-2063

 

 

 

Step 22: Now click on frame 24 and press F6 key. And make the feather shape like this

image-2064

 

 

 

Step 23: Now click on frame 26 and press F6 key. And make the feather shape like this

image-2065

 

 

 

 

Step 24: Now click on frame 28 and press F6 key. And make the feather shape like this

image-2066

 

 

 

 

Step 25: Now click on frame 30 and press F6 key. And make the feather shape like this

image-2067

 

 

 

Step 26: We finished the first feather. Now we need to create another feather

image-2068

 

 

 

Step 27: Now select the feather 2 layer and draw another feather shape as below

image-2069

 

 

 

 

Step 28: Now click on frame 2 and press F6 key. And make the feather shape like this

image-2070

 

 

 

 

Step 29: Now click on frame 4 and press F6 key. And make the feather shape like this

image-2071

 

 

 

 

Step 30: Now click on frame 6 and press F6 key. And make the feather shape like this

image-2072

 

 

 

Step 31: Now click on frame 8 and press F6 key. And make the feather shape like this

image-2073

 

 

 

Step 32: Now click on frame 10 and press F6 key. And make the feather shape like this

image-2074

 

 

 

Step 33: Now click on frame 12 and press F6 key. And make the feather shape like this

image-2075

 

 

 

Step 34: Now click on frame 14 and press F6 key. And make the feather shape like this

image-2076

 

 

 

Step 35: Now click on frame 16 and press F6 key. And make the feather shape like this

image-2077

 

 

 

Step 36: Now click on frame 18 and press F6 key. And make the feather shape like this

image-2078

 

 

 

Step 37: Now click on frame 20 and press F6 key. And make the feather shape like this

image-2079

 

 

 

Step 38: Now click on frame 22 and press F6 key. And make the feather shape like this

image-2080

 

 

 

Step 39: Now click on frame 24 and press F6 key. And make the feather shape like this

image-2081

 

 

 

Step 40: Now click on frame 26 and press F6 key. And make the feather shape like this

image-2082

 

 

 

Step 41: Now click on frame 28 and press F6 key. And make the feather shape like this

image-2083

 

 

 

Step 42: Now click on frame 30 and press F6 key. And make the feather shape like this

image-2084

 

 

 

Step 43: Now we finished the feather animation and we’ll move on to bird animation.

image-2085

 

 

 

 

 

 

Step 44: Now come back to frame 70 and place on the position of the bird like below

image-2086

 

 

 

 

 

 

Step 45: Go back to first frame and place the position of the bird like this

image-2087

 

 

 

 

 

Step 46: Right-click anywhere on the gray area between frame 1 and 70 and frame 70 and 100 on the timeline and choose Right click on the layer and select Create Motion Tween from the menu that appears.

image-2088

 

 

 

Step 47: Save and publish the file using ctrl+Enter key.

Tags: , ,

Thursday, September 20th, 2012 Flash, web design No Comments

Bulle on Multi-transition Effect in Flash


Follow the steps to complete the tutorial.

1. Open a new flash file. Choose Window ->Properties from the main menu bar to open the PROPERTIES panel.

2. Expand the Properties section in the panel and choose the Edit… button to enlarge the Document Settings window. Next, set the width to 940px and height to 400px in the
PROPERTIES panel, as shown in Figure below. Choose the Ok button.


 

 

 

 

3. Now we will import the images to be used in this tutorial. Unzip the bulle.rar file that you downloaded.

4. Choose File > Import > Import to stage from the main menu bar and Import the images.

5. Now, let us distribute these images on different layers. To do so, right click on the images when they are selected and choose Distribute to Layers… from the fly out, the images are distributed in different layers.

6. Next, convert the images into symbols. Select img1.jpg and choose Modify > Convert to Symbol from the main menu bar; the Convert to Symbol window is displayed; as shown in Figure below.

image-1975

 

 

 

 

7. Name the movie clip symbol as img1 and choose the OK button. The image is converted to movie clip symbol. Similarly, convert img2.jpg and so on into movie clip symbols.
The movie clip helps to manage an image in a better way. Also, it will help us to apply filters and other effects to the mages in a better way.

8. Next, select the img1 movie clip and choose Modify -> Convert to Symbol from the main menu bar and name the movie clip as masking1.

9. Double-click on the movie clip and next create a key frame on frame as much as possible in the timeline, as shown in Figure below.

image-1976

 

 

 

 

 

10. Next set the motion twining between the frames. Select the key frame on zoom and place the movie clip on it and perform action.

11. Select all the frames and right click on them and choose Distribute to Layers to distribute them to different layers. Rename the layers as frame1, frame2, frame3, frame4, and frame5.

image-1977

 

 

 

 

 

12. Next layer is for creating avoid layer, select the frame and right click on it and choose distribute to layers.

image-1978

 

 

 

 

 

13. Next layer is for avoid 2, select the frame and right click on it and choose distribute to layers.

image-1979

 

 

 

 

 

 

14. Next layer is for Ligne, select the frame and right click on it and choose distribute to layers.

image-1980

 

 

 

 

15. The last layer is for creating bubbles, Select the key frame on zoom and place the movie clip on it and perform action.

image-1981

 

 

 

 

16. Next, activate the layer named layer1 and rename it to anim1 and select the image movie clip at the first key frame and choose Window > Properties from the main menu bar, the PROPERTIES panel will be displayed.

17. Set the alpha to zero for the movie clip on the first frame.

18. Now, right click on the frame1 layer and choose mask from the fly out. Similarly, set mask for frame2, frame3, frame4, and frame5 layers and align the frames in the timeline to as shown in Figure below.

image-1982

 

 

 

 

19. Press ENTER and have a look on the frame transition effect. You can tweak the animation as per your needs and requirements.

20. Next, go to the main stage and similar transition effect to the other layers and make a timeline animation to create a layer show transition effect.

Tags: , ,

Wednesday, August 29th, 2012 Flash, web design No Comments

Smoky Trailer in Flash Action script

Final Preview:

Step-1 Open a new document in flash. Set the stage color as black.

Step-2 Create four buttons for smoke colors transformation in Layer-1. Give the instance name for each button. Here  I gave one_btn, two_btn, three_btn and four_btn.

Step-3 Type the following Action Script in Layer-2.

//import bitmap class
import flash.display.BitmapData;
var currentBitmap:String = “smoke_yellow_blue.png”;
function doTrail(container:MovieClip, targetX:Number, targetY:Number, type:String):Void
{
//attach bitmap from the library with the linked name “adobe_flash”
var myBmp:BitmapData = BitmapData.loadBitmap(currentBitmap);
//create the “main_holder” movieclip that will hold our bitmap
var _particle = container.createEmptyMovieClip(“main_holder”+container.getNextHighestDepth(), container.getNextHighestDepth());

//create an “internal_holder” movieclip inside “main_holder” that we’ll use to center the bitmap data
var internal_holder:MovieClip = _particle.createEmptyMovieClip(“internal_holder”, _particle.getNextHighestDepth());
//set “internal_holder” x and y position based on bitmap size
internal_holder._x = -myBmp.width/2;
internal_holder._y = -myBmp.height/2;

//finally, attach the bitmapData “myBmp” to the movieclip “internal_holder”
internal_holder.attachBitmap(myBmp, internal_holder.getNextHighestDepth());

//set the particle’s x & y position based on the target x & y. Offset the particle by a few pixels
_particle._x = targetX + random(4)-8;
_particle._y = targetY + random(4)-8;
//randomly rotate the particle 360 degrees
_particle._rotation = random(360);
//give the particle a random scale, between 50% and 100%
var randomScale = random(50)+50;
_particle._xscale = randomScale;
_particle._yscale = randomScale;
//give each particle its own speed
_particle.speed = random(5)+3;
//make it move
_particle.onEnterFrame = function ()
{
this._xscale += this.speed;
this._yscale += this.speed;
this._alpha -= this.speed;
//check if particle is invisible, and remove it
if(this._alpha <= 0)
{
delete this.onEnterFrame;
removeMovieClip(this);
}
}
}
_root.onEnterFrame = function():Void
{
doTrail(_root, _xmouse, _ymouse, currentBitmap);
}
//*** Control Buttons***//
one_btn.onRelease = function(){
currentBitmap = “clear.png”;
}
two_btn.onRelease = function(){
currentBitmap = “smoke_clear.png”;
}
three_btn.onRelease = function(){
currentBitmap = “smoke_yellow_blue.png”;
}
four_btn.onRelease = function(){
currentBitmap = “smoke_yellow_orange.png”;
}

Step-4 Import smoke effect images to library. Images name should be same as in library and script. Go to library panel and right click on each image.  Choose Properties à Linkage. Check the “Export for Action script” option.

Run the program.

Tags: , ,

Tuesday, May 22nd, 2012 Flash, web design, web design tips No Comments
Request a Free SEO Quote