Bookmark now!

AddThis Social Bookmark Button

Most popular

The most viewed tutorials in April:

  1. Best dynamic image gallery
  2. Loading external JPG images
  3. Ultimate preloader

Advertisements

Amazing video loops, stunning photo galleries, video and audio players ready to go! Smooth, amazing flipNavigation system!

Glowing neon playback control buttons — part 2

Creating the play icon

25. Lock the circle overlay layer, make a new layer above it and call it icon.

The icon layer will be host to the play icon.

26. Select the Rectangle tool (R). Block the stroke color. Set the fill color to #3A5274. Draw a 33 by 33 pixelsquare anywhere on the stage.

27. Turn on the Snap to Objects option and use the Selection tool (V) to create a triangle out of the rectangle. Do it like this (follow the image sequence below):

  1. Bring the cursor close to the square's upper right corner.
  2. Click and start dragging down, until you reach the middle of square's height. Release your mouse button.
  3. Repeat the same thing for the lower right corner of the square, this time dragging the corner towards the point you just made in the previous move. Once near, the corner will snap into place. Release the mouse and there is your triangle.

Making a triangle out of a square in Flash.

28. Click on the triangle to select it. Go to the Property inspector and type 27 in the W (width) field. There! You have a good-looking play button now. The screenshots below show the difference in size before and after the width of the triangle was modified.

Reducing the width of a vector shape.

29. Center the triangle inside the button.

The play icon is centered inside the button now.

30. Select the Ink bottle tool (S). In the Properties panel, choose Solid as type and set the thickness to 4. Click anywhere on the triangle to give it an outline.

A border was added to the triangle.

31. Choose the Selection tool (V). Double-click on the triangle's border to select it.

Selecting the outline of the triangle.

32. Press Ctrl+X to cut the outline.

33. Lock the icon layer. Make a new layer below it and call it icon outline.

The icon outline layer is inserted.

34. Select Edit > Paste in Place to place the icon border here, right below the icon itself.

35. Lock the icon outline layer and unlock the icon layer. Select the triangle inside it.

36. Hit F8 to convert it into a symbol. Call it play icon and click OK.

37. The new play icon movie clip will be selected by default. Go to the Properties panel and click on the Filters tab to set the blending options for this symbol. Choose the Glow filter and tweak it like this:

  1. Blur X and Y: 6
  2. Strength: 240%
  3. Quality: Medium
  4. Color: #ACE0FD
  5. Inner glow must be turned on.

The glow for the play icon and its parameters.

And — ta-daa — here's the final result, with the background:

The glowing neon blue play button is complete now.

Now ain't it cool? This blue neon glow looks soooo good :-)! Let me show you now how to easily duplicate theis button and create a stop button out of it.

Top of page

Creating the glowing stop button from the play button

38. Go back to the main scene by clicking on the Scene 1 link.

Back to the main scene in Flash.

39. Open the Library by selecting Window > Library.

40. Right-click on the play button in the Library and select Duplicate from the pop-up menu. The Duplicate Symbol window ill appear. Just change the symbol's name to stop button and click OK.

Repeat the same thing with the play icon symbol: duplicate it and call the new symbol stop icon. You will have fice symbols (all of them movie clips) in the Library now: the outer ring which is present in both the play button and stop button symbols, as well as play icon and stop icon for each respective symbol. Let me show you now how to make the modifications.

The Library in Flash with its symbols.

41. Double-click on the stop button symbol inside the Library to enter inside it. Unlock its icon layer.

42. Click once on the play icon that is inside it, to select it.

43. Go to the Properties panel and click the Swap button.

The button for swapping symbols in Flash.

44. The Swap Symbol window will show up. All the symbols that you made in your Flash document so far are displayed here — exactly as they appear in the Library. Select the stop icon symbol and click OK.

Swapping symbols in Flash!

Although this movie clip symbol looks exactly the same as the play icon, you know that this is the stop icon in fact. Flash informs you of this by displaying the name of the currently selected symbol in the Properties panel:

The name of the symbol as seen in Flash.

45. Now, double-click the stop icon movie clip on the stage to enter inside it. Erase the triangle and draw a 28 by 28 pixel borderless square in its place. I have made the square smaller, because if it had the dimensions of the triangle, it would come too close to the circle's border and that wouldn't look so good. Oh, yes: the color of the square should be the same as triangle's: #3A5274.

The square inside the stop neon button.

46. Click on the stop button link to go back to the movie clip's timeline.

Back to the button's timeline.

47. Align the icon in relation to the movie clip's center.

The new stop icon aligned inside the movie clip symbol.

48. Lock the icon layer. Unlock the icon outline layer. Erase the outline triangle that is inside it.

49. Draw a rectangle here, without a fill, and make it the same size as the icon above it: 28 by 28 pixels. the line should have the same thickness as before (4) and the same color (#3A5274). Align it like you did with the icon. It should look like this:

The modification is finished: here is the new stop icon.

And finally, here are both the play and stop neon glow buttons, side by side:

The glow neon buttons done entirely in Flash!

They look awesome! And there was no need at all to use Photoshop! The pause, fast forward and rewind buttons can be made easily now — you know now the easy principle of duplicating symbols. Just make smaller triangles for the rewind button and make two rectangles for the pause button. Nothing easier than that.

A single button that you just made has a file size of only 439 bytes! The same button made in Photoshop would have a file size ten times bigger than the one made in Flash!

Hope you liked this tutorial. Take a look at other Flash tutorials on menus, buttons and interfaces that I made — you will find a lot to learn. Besides the design, these tutorials also explain how to make complete website navigation systems, so don't miss them!

Download the source file for this lesson

Got any comments or questions? Want to add something but don't know how? Discuss it in the forum!