<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Design Dev &#187; Creating Websites</title>
	<atom:link href="http://www.webdesigndev.com/tag/creating-websites/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webdesigndev.com</link>
	<description></description>
	<lastBuildDate>Mon, 06 Feb 2012 16:30:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Creating a Flash Portfolio Website</title>
		<link>http://www.webdesigndev.com/flash/creating-a-flash-portfolio-website</link>
		<comments>http://www.webdesigndev.com/flash/creating-a-flash-portfolio-website#comments</comments>
		<pubDate>Tue, 22 Jul 2008 11:28:44 +0000</pubDate>
		<dc:creator>Web Design</dc:creator>
				<category><![CDATA[Flash Tutorials]]></category>
		<category><![CDATA[Creating Websites]]></category>
		<category><![CDATA[flash portfolio]]></category>
		<category><![CDATA[flash tutorial]]></category>
		<category><![CDATA[flash web design]]></category>
		<category><![CDATA[flash website]]></category>

		<guid isPermaLink="false">http://www.webdesigndev.com/?p=42</guid>
		<description><![CDATA[This tutorial will take you through a step by step process to create a complete website using Flash CS3 and ActionScript 3.0. If you do not have any Flash or ActionScript experience, please still follow along. You'll be amazed at what you can do! Fun stuff! Let's get started! ]]></description>
			<content:encoded><![CDATA[<h2>Learn How to Create a Portfolio Website Using Adobe Flash</h2>
<p>To take a quick peek at what you&#8217;ll be creating, go to <a onclick="javascript:window.open('http://www.jwright.info');">www.jwright.info</a> | <a href="http://www.webdesigndev.com/jwright.zip">Download Source Files</a></p>
<p>Getting Started: Setting up our <a title="flash website" href="http://www.webdesigndev.com/flash/learn-how-to-create-a-flash-website">flash website</a> Project</p>
<p>Before I begin &#8211; for those of you who want an easy way out of this tutorial, you can <a href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&amp;experiment_id=af_webdesigndev.com10" target="_blank">create a free  flash website with Wix</a> that will look like a very professional website. Now for those who are still interested in going through with the tutorial, I will continue.</p>
<p>Open up Adobe Flash CS3 and create a new Flash Project. <em>File&#8211;&gt;New&#8211;&gt;Flash Project</em>.<br />
Click <em>Ok</em>. Name your project <em>jwright.info.flp</em>.</p>
<p>Tip: I like to create a folder as one central location for all of my files (e.g.<br />
a folder named jwright.info) to keep everything together.</p>
<p>Next, select <em>File&#8211;&gt;New&#8211;&gt;Flash File (ActionScript 3.0)</em>. Click <em>Ok</em>.<br />
It&#8217;s a good idea to go ahead and save your project. Let&#8217;s do so. <em>File&#8211;&gt;Save</em> (or Ctrl+S). Name the new Flash file <em>jwright.info.fla</em>.</p>
<p>Now we can add our Flash file to our project. Right click on the project file and<br />
click <em>Add File&#8230;</em> as shown below. If you do not see you Project Panel, open<br />
it up by selecting <em>Window&#8211;&gt;Project</em> (or Shift+F8) from the main toolbar.</p>
<div class="pic">
<p><img src="/flashportfolio/Project.bmp" alt="" /></p>
<p>Add the file <em>jwright.info.fla</em> to the project.</p>
<p>Setting up the Timeline</p>
<p>Let&#8217;s start by setting up the layers that make up our site. Click the <em>Insert Layer<br />
Folder</em> button for the timeline. Rename this folder <em>Pages</em> by right<br />
clicking the folder and choosing <em>Properties</em> or by double clicking the folder.</p>
<p><img src="/flashportfolio/NewFolderBtn.bmp" alt="" /></p>
<p>Follow the similar procedure for adding a new folder for each page we will need: <em>Start, Home, Profile, Resume, Contact, Portfolio,</em> and <em>Respect</em>. Also,<br />
create a folder called <em>Master</em>.</p>
<p>Here&#8217;s a look at what you should now have in your timeline. Ensure that each page<br />
folder is a subfolder of <em>Pages</em>. You can do this by dragging the layer into<br />
the proper place. (You may delete the default layer <em>Layer1</em>, if it&#8217;s still<br />
listed.)</p>
<div class="pic">
<p><img src="/flashportfolio/OurFolders.bmp" alt="" /></p>
<p>Oh boy, we&#8217;re rockin&#8217; now! Let&#8217;s insert a new layer in the <em>Master</em> folder.<br />
Click the <em>Insert Layer</em> button found near the the <em>Inser Layer Folder</em> button.</p>
<div class="pic">
<p><img src="/flashportfolio/NewLyrBtn.bmp" alt="" /></p>
<p>Name the new layer <em>Splash</em>. Again, be sure that the <em>Splash</em> layer is<br />
inside of the <em>Master</em> folder.</p>
<p>Follow the same steps to add the rest of our <em>Master</em> layers: <em>Main Menu, House,<br />
Logo, Arrows, Copyright, </em>and of course <em>Splash</em>.</p>
<p>Here&#8217;s a stunning view of our timeline so far.</p>
<div class="pic">
<p><img src="/flashportfolio/OurFoldersAndLayers.bmp" alt="" /></p>
<p>Okay, now in each page folder (excluding <em>Master</em>) insert two layers named <em>Content</em> and <em>Actions</em> like so.</p>
<p><img src="/flashportfolio/ContentActions.bmp" alt="" /></p>
<p>Now, we want to add the keyframes for our website. Essentially, each page has a<br />
keyframe used to display the page we need. Then we can navigate to each requested<br />
page via frames.</p>
<p>Insert a keyframe on each page layer in sequence. Example: The <em>Start</em> page&#8217;s<br />
keyframe goes on frame 1; The <em>Home</em> page&#8217;s keyframe goes on frame 2; etc.<br />
Like so. To insert a keyframe, right click on the desired frame and choose <em>Insert<br />
Keyframe</em> (or select the frame and hit F6).</p>
<div class="pic">
<p><img src="/flashportfolio/InitialKeyframes.bmp" alt="" /></p>
<p>A couple more things before the real fun begins.</p>
<p>Create two more layers (not in any folder) named <em>Frame Labels</em> and <em>Actions</em>.</p>
<p>We&#8217;ll place a lot of our ActionScript for the site in the <em>Actions</em> layer later<br />
on. We&#8217;re going to use the <em>Frame Labels</em> layers for our site navigation. So,<br />
let&#8217;s setup our Frame Labels.</p>
<p>Actually, let&#8217;s first define a Frame Label. Simple, simple. A Frame Label is really<br />
just a way we can use an identifier for our page instead of always accessing a page<br />
by its frame number. It&#8217;ll make more sense in a minute&#8211;bear with me.</p>
<p>Select the first seven frames on the <em>Frame Labels</em> layer. Then, convert them<br />
to keyframes (F6). Here&#8217;s a look.</p>
<p><img src="/flashportfolio/FrameLabels.bmp" alt="" /></p>
<p>We need to give these Frame Labels a name. Select the first frame (frame 1) and give<br />
it a name in the <em>Properties</em> panel. Let&#8217;s call it <em>start_frm</em>. This naming<br />
convention is consistent with our page layer names.</p>
<div class="pic">
<p><img src="/flashportfolio/NameFrame.bmp" alt="" /></p>
<p>You should now see little flag in the first frame. Repeat these steps to name the<br />
rest of our Frame Labels. Here&#8217;s a look at what you should have when all are named.</p>
<p><img src="/flashportfolio/AllFramesNamed.bmp" alt="" /></p>
<p>Well done ladies and gentlemen. Moving on&#8230;</p>
<p>Creating the Main Layout</p>
<p>On the Properties panel, <em>Window&#8211;&gt;Properties&#8211;&gt;Properties</em> (or Ctrl+F3), click<br />
the size button. This will display the Document Properties form.</p>
<div class="pic">
<p><img src="/flashportfolio/DocProps.bmp" alt="" /></p>
<p>Set the <em>Dimensions</em> width to 885.15 px and the height to 578 px. Set the <em>Background<br />
color</em> to White (#FFFFFF), the <em>Frame rate</em> to 32 fps (frames per second),<br />
and the <em>Ruler units</em> to Pixels.</p>
<p>Ready for our first graphic? Me too. First, let&#8217;s lock all of the layers but the<br />
one we need&#8211; the <em>Splash</em> layer.</p>
<div class="pic">
<p><img src="/flashportfolio/LockLayers.bmp" alt="" /></p>
<p>Secondly, from the Tools toolbar, <em>Window&#8211;&gt;Tools</em> (or Ctrl+F2), select the <em>Rectangle Primitive Tool</em> (or R). Change the stroke color to #EBEBEB, and<br />
set the fill color to #FFFFFF via the color pickers on the Properties panel. Set<br />
the corners rounded to 18.</p>
<p>Here&#8217;s a shot of the properties panel for some help.</p>
<div class="pic">
<p><img src="/flashportfolio/PrimiRectProps.bmp" alt="" /></p>
<p>Now draw a primi rectangle 787.1 (width) by 468.4 (height) on the stage. Note: Ensure<br />
the <em>Splash</em> layer is selected.</p>
<p>It&#8217;s Movie Clip time. Select your primi and hit F8. This will pop up the Convert<br />
to Symbol form. Name it <em>SplashMc</em> and select Movie clip as the type. Click <em>Ok</em>.</p>
<p>This Mc looks pretty sad. Let&#8217;s spice it up! Select <em>Window&#8211;&gt;Properties&#8211;&gt;Filter</em>.<br />
Select our <em>SplashMc</em> and hit the <em>Add Filter</em> button on the Filters panel<br />
and select <em>Drop Shadow</em>.</p>
<p>Next set the drop shadow&#8217;s properties shown below.</p>
<p><img src="/flashportfolio/DropShadow.bmp" alt="" /></p>
<p>Let&#8217;s align this bad boy! Open up the align panel <em>Window&#8211;&gt;Align</em> (or Ctrl+K).<br />
Select your Mc and click <em>Align horizontal center</em> and then <em>Align vertical center</em>.</p>
<div class="pic">
<p><img src="/flashportfolio/AlignSplash.bmp" alt="" /></p>
<p>Now that it&#8217;s centered beautifully, let&#8217;s move it down a little. About six hits<br />
on the down arrow on your keyboard. My X,Y coords for this Mc is now 442.6,307.2;<br />
however, I&#8217;ve seen these X,Y&#8217;s vary a little from computer to computer. Not sure<br />
why, but that&#8217;s life I guess.</p>
<p>The copyright. First, lock the <em>Splash</em> layer and unlock the <em>Copyright</em> layer. Create a new Text Box using the text tool (T). Type in <em>Copyright © 2007-2008<br />
jwright.info. All Rights Reserved.</em> Note: You can find the copyright symbol on your Windows start menu. <em>Start&#8211;&gt;All Programs&#8211;&gt;Accessories&#8211;&gt;System<br />
Tools&#8211;&gt;Character Map.</em> (That is, if you have a PC with Windows.)</p>
<p>Again, use the Align tool to center the copyright horizontally and then align on<br />
the bottom edge. So far, so good. Right? Here&#8217;s our stage.</p>
<div class="pic">
<p><img src="/flashportfolio/Copyright.bmp" alt="" /></p>
<p>Next, our navigation arrows. Let&#8217;s look at how to make an arrow button. I&#8217;m not<br />
going into this a great deal as I want to focus on the &#8220;programming a flash site&#8221;<br />
as opposed to &#8220;creating each little graphic for a flash site.&#8221; Michael&#8217;s got some<br />
great tutorials for graphics. I&#8217;ll leave that to the pros.</p>
<p>To make a button, open up the Library (Ctrl+L). You should see the <em>SplashMc</em> we created earlier. Click the <em>New Symbol&#8230;</em> in the bottom left of the Library<br />
panel. Name the button <em>ForwardBtn</em> and be sure to select <em>Button</em>. Click <em>Ok</em>.</p>
<p>As a side note here, it&#8217;s a good idea to create some folders in the library to organize<br />
everything. One for MovieClips, one for Buttons, etc.</p>
<p>Back on the stage now, place your arrow button center stage. Add a new keyframe<br />
in the <em>Over</em> frame. Make the button how you want it to look when you hover<br />
over it&#8211;I just changed my fill color to white. Then again for the <em>Down</em> frame.</p>
<p>Follow the same steps for your back button. Be sure to name it <em>BackwardBtn</em>.</p>
<p>Let&#8217;s go back to the main stage by clicking <em>Scene1</em> as shown below.</p>
<div class="pic">
<p><img src="/flashportfolio/Scene1.bmp" alt="" /></p>
<p>From the Library, drag your two buttons onto the <em>Arrows</em> layer. Using the<br />
Align tool, align the backward arrow on the left edge and the forward arrow on the<br />
right edge.</p>
<p>To align the arrows vertically we&#8217;re going to use Rulers. We don&#8217;t want to just &#8220;Align vertically&#8221; because our <em>SplashMc</em> is not aligned vertically. Remember?<br />
We moved it down some? We want the arrows to be aligned with good ol&#8217; splashy.</p>
<p>Bring up the rulers by selecting <em>View&#8211;&gt;Rulers</em> (or Ctrl+Alt+Shift+R). Select<br />
the <em>SplashMc</em> on the <em>Splash</em> layer (you may need to unlock it). Drag<br />
a ruler guide down from the horizontal ruler, intersecting the center point of splashy.</p>
<div class="pic">
<p><img src="/flashportfolio/SplashyCtrPt.bmp" alt="" /></p>
<p>Now select both arrows and intersect them with your ruler guide, like so.</p>
<p><img src="/flashportfolio/ArrowsCentered.bmp" alt="" /></p>
<p>On to the logo. Use whatever logo you&#8217;d like. Place it on the <em>Logo</em> layer.</p>
<p>You may do the same for the little house button on the upper right. Place it on<br />
the <em>House</em> layer.</p>
<p>Our main layout so far.</p>
<div class="pic">
<p><img src="/flashportfolio/MainLayoutSoFar.bmp" alt="" /></p>
<p>The Flying Menu</p>
<p>Although the main menu is definitely a part of our main layout, it deserves its<br />
own section. This, my friends, is the most difficult part of the site; however,<br />
it&#8217;s just a bit tedious&#8211;nothing earth shattering. Let us begin!</p>
<p>To get started, create a new symbol (just like you did for the arrow buttons). Name<br />
it <em>MainMenuMc</em> and select <em>Movie clip</em> as the type. Click <em>Ok</em>.</p>
<p>Secondly, let&#8217;s setup or Mc&#8217;s timeline. Create a new folder called <em>Menu Items</em> and insert five new layers into the folder. Name them <em>Profile, Resume, Contact, Portfolio,</em> and <em>Respect</em> respectively (no pun intended).</p>
<p>On the <em>Contact</em> layer, place a new Text Box with the text <em>contact</em>.<br />
This text should be black, 15pt font, Arial, with a letter spacing of 1. See below.</p>
<div class="pic">
<p><img src="/flashportfolio/ContactButton.bmp" alt="" /></p>
<p>Convert the Text Box to a button. Select it, hit F8, select type <em>Button</em>,<br />
name it <em>ContactBtn</em> click <em>Ok</em>. Double click the new symbol to edit it.<br />
Insert a new keyframe in the <em>Over</em> frame and change the text color to #999999.</p>
<p>Now let&#8217;s set up some guide lines. From the <em>ContactBtn</em>&#8216;s center point, drag<br />
two vertical guides to the left of the button. One spaced 100 units away and<br />
the other spaced 200 units away from the button&#8217;s center point. Do the same to the<br />
right of the button. Also, drag a horizontal guide intersecting the button&#8217;s center<br />
point.</p>
<p>Here&#8217;s a clarifying example.</p>
<div class="pic">
<p><img src="/flashportfolio/MenuGuides.bmp" alt="" /></p>
<p>Next, create the other four buttons just like the <em>ContactBtn</em> we just made: <em>ProfileBtn, ResumeBtn, PortfolioBtn,</em> and <em>RespectBtn</em>. Then, place those<br />
buttons on the intersecting guides like the following. Be sure to place each button<br />
on the proper corresponding layer.</p>
<div class="pic">
<p><img src="/flashportfolio/MenuItemPlacement.bmp" alt="" /></p>
<p>No, we&#8217;re not done with the menu yet, but we need a reference point for the rest of<br />
it. So, let&#8217;s go ahead and place our menu (from the Library) on our main stage on<br />
the <em>Main Menu</em> layer&#8211;centered vertically and centered horizontally in respect<br />
to splashy.</p>
<div class="pic">
<p><img src="/flashportfolio/MainMenuPlacement.bmp" alt="" /></p>
<p>Double click the <em>MainMenuMc</em> to return to edit mode. Drag a horizontal guide<br />
to where you want the menu to fly to.</p>
<div class="pic">
<p><img src="/flashportfolio/FlyToGuide.bmp" alt="" /></p>
<p>Next, insert a new layer and call it <em>Dummy</em>. Copy and paste all five buttons<br />
into this dumb layer. Align them horizontally on the guide we just made. Trust me<br />
on this one. Here&#8217;s a look see.</p>
<div class="pic">
<p><img src="/flashportfolio/DummyMenuLayer.bmp" alt="" /></p>
<p>This is going to be how we set up our destination point for our menu items when<br />
they fly into place. If you can think of a better way, awesome. Go for it.</p>
<p>Space each button about 3 little units away from the button to its right. Use the<br />
guide lines to help.</p>
<div class="pic">
<p><img src="/flashportfolio/MenuItemSpacing.bmp" alt="" /></p>
<p>Now intersect some guides on each dummy menu item&#8217;s center point. Be careful not<br />
to confuse these guides with the ones for our real menu.</p>
<div class="pic">
<p><img src="/flashportfolio/DummyIntersection.bmp" alt="" /></p>
<p>Okay, now hide the dummy layer. We could delete it now as we won&#8217;t need it anymore,<br />
but just in case we need to return to it&#8211;it&#8217;s there. Hide by selecting the layer<br />
and clicking the dot on the dummy layer under the <em>Show/Hide All Layers</em> button.</p>
<div class="pic">
<p><img src="/flashportfolio/HideLayer.bmp" alt="" /></p>
<p>On to the flight plan. Let&#8217;s draw some motion guides. First, select the <em>Respect</em> layer. Click the <em>Add Motion Guide</em> button.</p>
<div class="pic">
<p><img src="/flashportfolio/AddGuide.bmp" alt="" /></p>
<p>Using the Line tool (N), draw a line from the <em>RespectBtn</em>&#8216;s center point to<br />
it&#8217;s corresponding flight destination. Be sure to draw the guide on the the <em>Repect</em> layer&#8217;s motion guide layer.</p>
<div class="pic">
<p><img src="/flashportfolio/MotionGuide.bmp" alt="" /></p>
<p>Follow the previous steps for the rest of the buttons.</p>
<p>Here&#8217;s what you should end up with.</p>
<p><img src="/flashportfolio/MotionGuides.bmp" alt="" /></p>
<p>Go ahead and lock each guide layer so that we don&#8217;t accidentally select it.</p>
<p>Now for some animation! All right. Insert a frame (not keyframe) on frame 20 for<br />
each layer (excluding <em>Dummy</em>). Right click on frame 20 on the profile layer<br />
and select <em>Create Motion Tween</em>. Carefully select the <em>ProfileBtn</em> button<br />
and drag it up to its destination point.</p>
<p>This will create your flying tween. Here&#8217;s the results.</p>
<div class="pic">
<p><img src="/flashportfolio/TweenedMenuItem.bmp" alt="" /></p>
<p>You can drag the red timeline slider back and forth (or use the &#8216;,&#8217; (comma) and<br />
&#8216;.&#8217; (period) keys) to see your tween in action.</p>
<p>Proceed to do the same for the rest of your menu item buttons.</p>
<p>So that&#8217;s the up flight plan. What about it&#8217;s descent? Well, I&#8217;m glad you asked.<br />
This is simple. Select frame one on each layer, right click on the selection. Choose <em>Copy Frames</em>.</p>
<div class="pic">
<p><img src="/flashportfolio/CopyFrames.bmp" alt="" /></p>
<p>Now select frame 20 for each layer and select <em>Paste Frames</em>, like so.</p>
<div class="pic">
<p><img src="/flashportfolio/PasteFrames.bmp" alt="" /></p>
<p>Well, that was the descent. Check it out using the slider to see your animated menu<br />
in all its glory! (Go ahead and delete the dummy layer if you&#8217;d like.)</p>
<div class="pic">
<p><img src="/flashportfolio/PastedFrames.bmp" alt="" /></p>
<p>Almost done with the menu!</p>
<p>Time for some ActionScript! We need to add some timeline control for our menu. Insert<br />
a new layer named <em>Timeline Control</em>. Select frame 20 in the new layer and<br />
hit F9. Like magic the ActionScript panel opens. Simple stuff here. Just type <code><br />
stop();</code> This will stop the menu at the top of the flight plan when it&#8217;s<br />
played.</p>
<p>Do the same for frame 40 so that the menu will stop at the bottom of its flight<br />
plan. Notice the little <em>a</em> denoting the frame has some ActionScript. Here&#8217;s<br />
a glance.</p>
<div class="pic">
<p><img src="/flashportfolio/TimelineControl.bmp" alt="" /></p>
<p>We need a way to control the menu from the main timeline. So, the solution? We need<br />
to create two functions. First, add another layer in the <em>MainMenuMc</em> timeline<br />
called <em>Actions</em>.</p>
<p>Add the following ActionScript to the <em>Actions</em> layer.</p>
<pre><code>function goHome():void { gotoAndPlay(20); } function leaveHome():void { gotoAndPlay(1); }</code></pre>
<p><img src="/flashportfolio/MainMenuActions.bmp" alt="" /></p>
<p>We&#8217;ll be able to use these two functions to control our main menu.</p>
<p>Congrats! That&#8217;s the end of our main menu. That wasn&#8217;t too bad, right? Great job!</p>
<p>Navigation Control</p>
<p>Now that we have our flying menu, logo button, and our little house on the stage button, let&#8217;s put &#8216;em<br />
to good use. We&#8217;ll be using a good bit more ActionScript (AS) from here on out. Excited?</p>
<p>The first thing we need to do is make sure that our <em>Master</em> layer displays throughout the timeline. To do so,<br />
insert a frame into frame 8.</p>
<div class="pic">
<p><img src="/flashportfolio/Master.bmp" alt="" /></p>
<p>The next thing we need to do is to name our menu. Select the <em>MainMenuMc</em> symbol and set it&#8217;s <em>Instance Name</em><br />
to <em>mainMenu_mc</em>. Now, let&#8217;s add a couple lines of ActionScript to the <em>Actions</em> layer that&#8217;ll run when the<br />
flash file first loads.</p>
<pre><code>///////////////////////////////////////////////////////////////////// // Startup. ///////////////////////////////////////////////////////////////////// stop(); mainMenu_mc.stop();</code></pre>
<p>The Startup block serves no purpose but to identify the associated lines of code&#8211;essentially keeping our<br />
code looking pretty and easy to find.</p>
<p>If you have not done so yet, go back into your <em>MainMenuMc</em> symbol and<br />
assign <em>Instance Name</em>s to our menu item buttons. Try to stick with the same naming convention. Like, name the<br />
<em>ProfileBtn</em> <em>profile_btn</em>, etc.</p>
<p>Notice how we use the <em>_btn</em> postfix for Buttons and the <em>_mc</em> postfix for Movie Clips. This will<br />
tell the AS compiler to generate intellisense (What&#8217;s that? See below.) for your object. Kinda like Visual Studio,<br />
Dreamweaver, and other programming IDEs.</p>
<div class="pic">
<p><img src="/flashportfolio/Intellisense.bmp" alt="" /></p>
<p>In order to handle the onclick events of our navigational buttons, we need to setup some event handlers.<br />
Add the following lines of AS to the <em>Actions</em> layer. I&#8217;ll explain the <code>navigationClicked</code> part in a second.</p>
<pre><code>///////////////////////////////////////////////////////////////////// // Event Setup. ///////////////////////////////////////////////////////////////////// mainMenu_mc.profile_btn.addEventListener(MouseEvent.CLICK, navigationClicked); mainMenu_mc.resume_btn.addEventListener(MouseEvent.CLICK, navigationClicked); mainMenu_mc.contact_btn.addEventListener(MouseEvent.CLICK, navigationClicked); mainMenu_mc.portfolio_btn.addEventListener(MouseEvent.CLICK, navigationClicked); mainMenu_mc.respect_btn.addEventListener(MouseEvent.CLICK, navigationClicked);</code></pre>
<p>So what in the world did we just do? It&#8217;s called event handling programming. I&#8217;m sure<br />
you&#8217;re familiar with it, but it&#8217;s basically just saying that function &#8220;X&#8221; gets called<br />
when the user clicks button &#8220;B&#8221;&#8211;pretty basic.</p>
<p>So, we have hooked up our main menu&#8217;s navigational buttons to a function called <code>navigationClicked</code><br />
that we are about to define. Now, any time one of those buttons are clicked, this function will be executed.</p>
<p>Here&#8217;s what you should have in your <em>Actions</em> layer for the main stage thus far.</p>
<div class="pic">
<p><img src="/flashportfolio/EventHandlersSoFar.bmp" alt="" /></p>
<p>I know it&#8217;s getting a little more complicated, but hang in there and take your time.</p>
<p>Next, we need to define our <code>navigationClicked</code> function. Here&#8217;s the stubbed out function.<br />
We&#8217;ll add more to this function in a minute. Copy and paste this code under your other code in the<br />
<em>Actions</em> layer.</p>
<pre><code>///////////////////////////////////////////////////////////////////// // Event Handlers. ///////////////////////////////////////////////////////////////////// function navigationClicked(Event:MouseEvent):void { }</code></pre>
<p>This next batch of AS (the body of the <code>navigationClicked</code> function) is a<br />
little long; however, it&#8217;s not too complicated. I&#8217;ll try to explain it well as we go along.</p>
<p>We need to determine what page to go to based on what button was clicked. Remember the Frame<br />
Labels we discussed earlier? Here&#8217;s where we&#8217;re going to use them. Bascially, we&#8217;re going<br />
to associate each button with a Frame Label via a common <code>switch</code> statement.</p>
<pre><code>function navigationClicked(Event:MouseEvent):void { //We'll use this to store the Frame Label's name. var frmLabel:String = ''; //Determine what Frame Label to use based on which //button was clicked. switch (Event.target) { case mainMenu_mc.profile_btn : frmLabel = "profile_frm"; break; case mainMenu_mc.resume_btn : frmLabel = "resume_frm"; break; case mainMenu_mc.contact_btn : frmLabel = "contact_frm"; break; case mainMenu_mc.portfolio_btn : frmLabel = "portfolio_frm"; break; case mainMenu_mc.respect_btn : frmLabel = "respect_frm"; break; case logo_btn : frmLabel = frmLabel = "home_frm"; break; case home_btn : frmLabel = "home_frm"; break; } }</code></pre>
<p>Okay, so now we know what Frame Label we need to use. (You may be asking what about our<br />
<em>LogoBtn</em> and <em>HouseBtn</em>. We&#8217;ll get to that in a minute.)</p>
<p>In order to display the page we&#8217;ll use the built-in AS function <code>gotoAndPlay(frame:Number)</code>. We have<br />
a Frame Label which is a <code>string</code>; however, we need the frame&#8217;s number. Let&#8217;s write a little function<br />
to retrieve that number. Here ya go.</p>
<pre><code>///////////////////////////////////////////////////////////////////// // Helper Functions. ///////////////////////////////////////////////////////////////////// function getFrame(frameName:String):Number { var frame:Number = 1; //Loop through all Frame Labels to find our requested frame. for (var i = 0; i &lt; currentLabels.length; i++) { if (currentLabels[i].name == frameName) { frame = currentLabels[i].frame; break; } } return frame; }</code></pre>
<p>All we are doing here is looping through all of our Frame Labels (via the built-in <code>currentLabels</code> property)<br />
and comparing the name we found in our <code>switch</code> block to the label we&#8217;re currently looping on.</p>
<p>We can now add the following two lines to the bottom of our <code>navigationClicked</code> function.</p>
<pre><code>var frmGoto:Number = this.getFrame(frmLabel); gotoAndPlay(frmGoto);</code></pre>
<p>Here&#8217;s our function so far.</p>
<pre><code>function navigationClicked(Event:MouseEvent):void { //We'll use this to store the Frame Label's name. var frmLabel:String = ''; //Determine what Frame Label to use based on which //button was clicked. switch (Event.target) { case mainMenu_mc.profile_btn : frmLabel = "profile_frm"; break; case mainMenu_mc.resume_btn : frmLabel = "resume_frm"; break; case mainMenu_mc.contact_btn : frmLabel = "contact_frm"; break; case mainMenu_mc.portfolio_btn : frmLabel = "portfolio_frm"; break; case mainMenu_mc.respect_btn : frmLabel = "respect_frm"; break; case logo_btn : frmLabel = frmLabel = "home_frm"; break; case home_btn : frmLabel = "home_frm"; break; } //Find the frame number based on our Frame Label. var frmGoto:Number = this.getFrame(frmLabel); //Go to the requested page. gotoAndPlay(frmGoto); }</code></pre>
<p>Well, let&#8217;s test out what we have so far. Select <em>Debug&#8211;&gt;Debug Movie</em> (Ctrl+Shift+Enter) from<br />
Flash CS3&#8242;s main menu. This will compile and run your Flash file. If you&#8217;ve missed anything, the<br />
compiler will show you an error.</p>
<div id="in_post_ad_middle_1" style="margin: 5px;padding: 0px;"><a href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&experiment_id=af_webdesigndev.com1middlepostnewLP" target="_blank" rel="nofollow">
<img src="http://www.webdesigndev.com/expressions_website3.gif" width="300" height="250" alt="create a free website" /></a></div><p>Here&#8217;s what you should see.</p>
<div class="pic">
<p><img src="/flashportfolio/Debug.bmp" alt="" /></p>
<p>Feel free to click some buttons, but you really won&#8217;t be able to see the pages changing since all<br />
of our pages are blank. Let&#8217;s skip ahead a little and change that. That way we&#8217;ll know our menu<br />
is working.</p>
<p>First, select the frame in your <em>Content</em> layer under the <em>Start</em> page.</p>
<div class="pic">
<p><img src="/flashportfolio/StartLayer.bmp" alt="" /></p>
<p>Secondly, place a Text Box, with text-aligned right, by the <em>HouseBtn</em> symbol, like so.</p>
<div class="pic">
<p><img src="/flashportfolio/HomeLabeler.bmp" alt="" /></p>
<p>Next, follow those same steps to place a label (in the same place) on the <em>Content</em> layers of each page.<br />
Then change the text to represent each page.</p>
<p>Tip: You can select the Text Box you just made on your <em>Start</em> page, select the frame for the <em>Content</em> layer on<br />
the <em>Home</em> page, and select <em>Edit&#8211;&gt;Paste in Place</em> (or Ctrl+Shift+V). This will paste the Text Box<br />
in the exact same place as your <em>Start</em> page.</p>
<p>You will also need to add the following one line of AS to each of the <em>Actions</em> layers for each page&#8211;except the <em>Start</em><br />
page.</p>
<pre><code>stop();</code></pre>
<p>This will ensure that your Flash movie will stop on the requested frame. If not, we would be hitting the requested<br />
frame and then the movie would continue to play out the rest of the movie.</p>
<p>As for the <em>Start</em> page, we need to add the following line of AS. We&#8217;re bascially going to<br />
just skip the start page. The reason is simple. I may want to, at a later time, change my home page to something<br />
different and make the current home page a welcome page. But, for now we&#8217;ll just use our home page as our welcome.<br />
Basically, we&#8217;re just trying to keep our site as maintainable as possible.</p>
<pre><code>gotoAndPlay(2);</code></pre>
<p>Again, notice the little &#8216;a&#8217; on each frame containing AS code.</p>
<div class="pic">
<p><img src="/flashportfolio/Stop.bmp" alt="" /></p>
<p>Before we debug again, let&#8217;s add a couple of lines of AS to our <code>navigationClicked</code> function.</p>
<p>We&#8217;re going to put our <code>gotoAndPlay(frmGoto);</code> line of AS inside of an <code>if</code> statement.<br />
Here&#8217;s the function now.</p>
<pre><code>function navigationClicked(Event:MouseEvent):void { //We'll use this to store the Frame Label's name. var frmLabel:String = ''; //Determine what Frame Label to use based on which //button was clicked. switch (Event.target) { case mainMenu_mc.profile_btn : frmLabel = "profile_frm"; break; case mainMenu_mc.resume_btn : frmLabel = "resume_frm"; break; case mainMenu_mc.contact_btn : frmLabel = "contact_frm"; break; case mainMenu_mc.portfolio_btn : frmLabel = "portfolio_frm"; break; case mainMenu_mc.respect_btn : frmLabel = "respect_frm"; break; case logo_btn : frmLabel = frmLabel = "home_frm"; break; case home_btn : frmLabel = "home_frm"; break; } //Find the frame number based on our Frame Label. var frmGoto:Number = this.getFrame(frmLabel); //Don't do anything if we are already on the requested page. if (currentFrame != frmGoto) { //Go to the requested page. gotoAndPlay(frmGoto); } }</code></pre>
<p>Go ahead and debug now to see your changes in action. Notice how the page label<br />
by the <em>HouseBtn</em> symbol changes as you go from page to page.</p>
<p>Next, let&#8217;s set up our <em>LogoBtn</em> and <em>HouseBtn</em> buttons. After you assign an <em>Instance Name</em><br />
to your buttons, all you need to do is attach the click event of those buttons to our <code>navigationClicked</code><br />
function. Forget how? That&#8217;s cool. Here&#8217;s a<br />
refresher.</p>
<pre><code>logo_btn.addEventListener(MouseEvent.CLICK, navigationClicked); home_btn.addEventListener(MouseEvent.CLICK, navigationClicked);</code></pre>
<p>So now we need to add those guys to our <code>switch</code> statement. After you do that, feel free<br />
to debug again to check it out.</p>
<pre><code>case logo_btn : frmLabel = "home_frm"; break; case home_btn : frmLabel = "home_frm"; break;</code></pre>
<p>How about that flying menu? It&#8217;s time to put it to work! Remember those two functions we made, <code>goHome();</code><br />
and <code>leaveHome();</code>? That&#8217;s how we&#8217;re going to control the menu from our <code>navigationClicked</code> function.<br />
Let&#8217;s have a look how.</p>
<p>All we need to do to implement our flying menu is make a couple of modificaitons to our <code>if</code> statement<br />
in our <code>navigationClicked</code> function. Below are the changes. Be sure to read the commented lines to<br />
understand what we&#8217;re trying to accomplish.</p>
<pre><code>//Don't do anything if we are already on the requested page. if (currentFrame != frmGoto) { //Get and remember the Home page's frame number. var frmHome:Number = this.getFrame("home_frm"); //If our requested page is the Home page, the flying menu //needs to go home. if(frmGoto == frmHome) { mainMenu_mc.goHome(); } //Else, if we are on the Home page and are leaving, then //leave home. else if(currentFrame == frmHome) { mainMenu_mc.leaveHome(); } //Go to the requested page. gotoAndPlay(frmGoto); }</code></pre>
<p>We&#8217;ve only got two buttons to go. Our <em>ForwardBtn</em> and <em>BackwardBtn</em> buttons.</p>
<p>To get started with those fellas, assign them <em>Instance Name</em>s and hook them up to our<br />
<code>navigationClicked</code> function as we&#8217;ve done several times previously.</p>
<p>It&#8217;s a tad tricky to get our <em>forward_btn</em> and <em>backward_btn</em> buttons to cycle the<br />
pages appropriately. I think it will be much clearer if I just give you the code and have you<br />
read through the comments&#8211;instead of dissecting the functions line by line.</p>
<p>The main function here is <code>getSequencedFrame(forward:Boolean)</code>. This function accepts a<br />
<code>Boolean</code> value indicating if the next page is requested or the previous. Then, the function<br />
will determine the Frame Label of the requested page.</p>
<p>Here&#8217;s the two functions you&#8217;ll need. Just copy and paste them into your <em>Helper Functions</em> section.</p>
<pre><code>function getFrameLabel(frame:Number):String { var frmLabel:String = ''; //Loop through all Frame Labels to find the requested Frame Label. for (var i = 0; i &lt; currentLabels.length; i++) { if (currentLabels[i].frame == frame) { frmLabel = currentLabels[i].name; break; } } return frmLabel; } function getSequencedFrame(forward:Boolean):String { //Used to remember the Frame Label of our page. var frmSequence:String = ''; //If we're looking for the next page in sequence... if(forward) { //If our current page is that last page... if(currentFrame == this.getFrame("respect_frm")) { //...then, we need to go Home. frmSequence = "home_frm"; } else { //...else, we just need to go to the next frame. frmSequence = this.getFrameLabel((currentFrame + 1)); } } //...else, we're looking for the previous page in sequence. else { //If we're on the first page (remember, we skipped our Start page)... if(currentFrame == this.getFrame("home_frm") || currentFrame == this.getFrame("start_frm")) { //...then, we need to go to the last page. frmSequence = "respect_frm"; } else { //...else, we just need to go to the the previous frame. frmSequence = this.getFrameLabel((currentFrame - 1)); } } return frmSequence; }</code></pre>
<p>Almost there! Just add this code to your <code>switch</code> statement and you&#8217;re done.</p>
<pre><code>case backward_btn : frmLabel = this.getSequencedFrame(false); reak; case forward_btn : frmLabel = this.getSequencedFrame(true); break;</code></pre>
<p>Congrats folks! You&#8217;ve just completed the hardest part of<br />
<a onclick="javascript:window.open('http://www.jwright.info');">jwright.info</a>.</p>
<p>From here on out, let&#8217;s make each page its own section. That way it will be easier for you<br />
to stop and pick up again later if need be.</p>
<p>The Home Page</p>
<p>First things first. Let&#8217;s spice up our <em>Home</em> page! Make sure that the following symbols go on the<br />
<em>Content</em> layer of our <em>Home</em> page layer.</p>
<p>Create a new Text Box and type in JAMESWRIGHT or use your own name for kicks. Use Arial, 28pt font, and<br />
letter spacing of 33. Now, convert this Text Box to a Movie Clip called <em>NameMc</em>. Also, while we&#8217;re there,<br />
give it an <em>Instance Name</em> of <em>name_mc</em>.</p>
<p>You may use my logo if you&#8217;d like or your own&#8211;as long at it&#8217;s a Movie Clip with an instance name of <em>logo_mc</em>.<br />
Drop it onto the <em>Home</em> page as well.</p>
<p>I also made a little footer called <em>DetDriDetMc</em> with an <em>Instance Name</em> of <em>ddd_mc</em>.</p>
<p>Here&#8217;s a look at our <em>Home</em> page.</p>
<div class="pic">
<p><img src="/flashportfolio/HomePage.bmp" alt="" /></p>
<p>Go ahead and test it out! You can debug like before, or hit Ctrl+Enter to run test mode.</p>
<p>Pretty cool, huh? Well it&#8217;s about to get better. Let&#8217;s add some fade transitions. Since we&#8217;re going to be<br />
using the same transitions on multiple pages and other Movie Clips, we need to put the transition code<br />
into its own class. Here&#8217;s how.</p>
<p>Select <em>File&#8211;&gt;New&#8211;&gt;ActionScript File</em>. Click <em>Ok</em>. Save the file in the same directory as your<br />
Flash files named <em>utils.Fader</em>. Two things are crucial here. The location of the file and the naming of<br />
the file. It must be in the same directory because this is how your AS code will reference this file. Also, the<br />
name signifies the package (a.k.a namespace) to be used.</p>
<p>Add the following code to your new <em>utils.Fader.as</em> file.</p>
<pre><code>package utils { //Import the needed packages. import fl.transitions.Transition; import fl.transitions.TransitionManager; import fl.transitions.Fade; import fl.transitions.easing.*; import flash.display.MovieClip; //Fader class definition. public class Fader { //This function will apply a "fade in" effect for any given Movie Clip. public static function fadeIn(mc:MovieClip):void { //Use the TransitionManager to fade in the movie clip. TransitionManager.start(mc, {type:Fade, direction:Transition.IN, duration:1, easing:Strong.easeIn}); } //This function will apply a "fade out" effect for any given Movie Clip. public static function fadeOut(mc:MovieClip):void { //Use the TransitionManager to fade in the movie clip. TransitionManager.start(mc, {type:Fade, direction:Transition.OUT, duration:1, easing:Strong.easeOut}); } } }</code></pre>
<p><a onclick="javascript:window.open('http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/transitions/TransitionManager.html')"><br />
Click here to read more about the <em>TransitionManager</em>.</a></p>
<p>Now, go ahead and add this AS file to your Flash project as we did in the beginning of the tutorial.</p>
<p>Next, add this code to your main <em>Actions</em> layer. This will allow you to be able to use your <em>Fader</em><br />
class on the main timeline.</p>
<pre><code>///////////////////////////////////////////////////////////////////// // Includes and Imports. ///////////////////////////////////////////////////////////////////// import utils.Fader;</code></pre>
<p>To implement your Fader class, simply add these line of AS to your <em>Actions</em> layer for your <em>Home</em> page.</p>
<pre><code>utils.Fader.fadeIn(logo_mc); utils.Fader.fadeIn(name_mc); utils.Fader.fadeIn(ddd_mc);</code></pre>
<p>Great! Now you can test it and check out the cool fade effect! That&#8217;s all for the <em>Home</em> page!</p>
<p>The Profile Page</p>
<p>The first thing we need to do is create a new Movie Clip (Remember, you can do this from the Library panel). Then we want<br />
to place a graphic on the MC that kinda looks like a tab from a tabbed document. Place the tab on its own layer called<br />
<em>Tab</em>. Again, you can find this graphic and others in the package supplied with the tutorial.</p>
<div class="pic">
<p><img src="/flashportfolio/ProfileTab.bmp" alt="" /></p>
<p>Secondly, we need to create some buttons&#8211;just some simple buttons that tell our readers a little bit about us.<br />
All you need to do is create a new button, as you&#8217;ve done before, and place some text in it. Nothing new here.<br />
Here&#8217;s a little snapshot of one of my buttons.</p>
<div class="pic">
<p><img src="/flashportfolio/WhoBtn.bmp" alt="" /></p>
<p>You can create whatever you want here, but if you want to stick with me here, create a button for each <em>Who, What,<br />
When, Where,</em> and <em>Why</em> section that looks like the following. These buttons should be placed in their own<br />
layer, named <em>Buttons</em>.</p>
<div class="pic">
<p><img src="/flashportfolio/ProfileBtns.bmp" alt="" /></p>
<p>Go ahead and give each button an <em>Instance Name</em>. For example, I named my <em>WhoBtn</em> button<br />
<em>whoCap_btn</em>&#8211;since these buttons are like captions.</p>
<p>Now for some pretty cool effects! Let&#8217;s create some &#8220;popups&#8221; for each button we just made. To do so, first create<br />
a new movie clip called <em>WhoPopupMc</em>. These are real simple to make. Essentially, all you need is two layers:<br />
<em>Text</em> and <em>Window</em>.</p>
<p>On the <em>Text</em> layer, simply place the <em>WhoBtn</em> you just made from the Library. Then, on the <em>Window</em><br />
layer place a Rectangle, fill color #333333 and stroke color #FFFFFF, that is a little bigger than your button. You<br />
will also need to create another little button used to close the popup. Feel free to make that button whatever<br />
you like. I just used a little circle. Here&#8217;s a look!</p>
<div class="pic">
<p><img src="/flashportfolio/WhoPopup.bmp" alt="" /></p>
<p>Be sure to give your <em>CloseBtn</em> an <em>Instance Name</em> called <em>close_btn</em>.</p>
<p>Now that you know how to do that, create a &#8220;popup&#8221; for each button.</p>
<p>Once you have created all of your popups, place each popup on its own layer on your <em>ProfileTabMc</em><br />
symbol and assign <em>Instance Name</em>s to your popups. Here&#8217;s what I ended up with.</p>
<div class="pic">
<p><img src="/flashportfolio/Popups.bmp" alt="" /></p>
<p>Next, you&#8217;ll need to insert another layer called <em>Actions</em> to your <em>ProfileTabMc</em> symbol. On this layer<br />
let&#8217;s add some AS event handlers for our buttons. Here they are to save you some time and typing.</p>
<pre><code>///////////////////////////////////////////////////////////////////// // Event Setup. ///////////////////////////////////////////////////////////////////// whoCap_btn.addEventListener(MouseEvent.CLICK, showPopup); whatCap_btn.addEventListener(MouseEvent.CLICK, showPopup); whenCap_btn.addEventListener(MouseEvent.CLICK, showPopup); whereCap_btn.addEventListener(MouseEvent.CLICK, showPopup); whyCap_btn.addEventListener(MouseEvent.CLICK, showPopup); whoPup_mc.close_btn.addEventListener(MouseEvent.CLICK, closePopup); whatPup_mc.close_btn.addEventListener(MouseEvent.CLICK, closePopup); whenPup_mc.close_btn.addEventListener(MouseEvent.CLICK, closePopup); wherePup_mc.close_btn.addEventListener(MouseEvent.CLICK, closePopup); whyPup_mc.close_btn.addEventListener(MouseEvent.CLICK, closePopup);</code></pre>
<p>Before we define our event handler functions, we need to add some AS to help us control which popup is<br />
currently showing. So, how do we do that? Again, nothing new here. We&#8217;re just going to write a simple<br />
<code>switch</code> statement to set a variable called <code>currentPopup</code>.</p>
<p>All that&#8217;s going on here is we are determining which button was clicked and then setting a Movie Clip variable<br />
to the popup we need to display. Here&#8217;s the code.</p>
<pre><code>///////////////////////////////////////////////////////////////////// // Variables. ///////////////////////////////////////////////////////////////////// var currentPup:MovieClip = null; ///////////////////////////////////////////////////////////////////// // Helper Functions. ///////////////////////////////////////////////////////////////////// function setCurrentPopup(e:Event):void { //Set the current popup based on which caption was clicked. switch(e.target) { case whoCap_btn: currentPopup = whoPopup_mc; break; case whatCap_btn: currentPopup = whatPopup_mc; break; case whenCap_btn: currentPopup = whenPopup_mc; break; case whereCap_btn: currentPopup = wherePopup_mc; break; case whyCap_btn: currentPopup = whyPopup_mc; break; } }</code></pre>
<p>Next, we need to define our event handler functions <code>showPopup</code> and <code>closePopup</code>.</p>
<p>I know I say this alot, but, this shouldn&#8217;t be too complicated. Just a couple basic event handlers. We&#8217;ll<br />
also want to add some cool fading effects here as well, so we&#8217;re going to import the <code>utils.Fader</code><br />
class.</p>
<pre><code>///////////////////////////////////////////////////////////////////// // Includes and Imports. ///////////////////////////////////////////////////////////////////// import utils.Fader; ///////////////////////////////////////////////////////////////////// // Event Handlers. ///////////////////////////////////////////////////////////////////// function closePopup(Event:MouseEvent):void { //If the current popup has been set, fade it out. if(this.currentPopup != null) utils.Fader.fadeOut(currentPopup); } function showPopup(Event:MouseEvent):void { //Set the current popup. this.setCurrentPopup(Event); //If the current popup has been set, fade it in. if(this.currentPopup != null) utils.Fader.fadeIn(currentPopup); }</code></pre>
<p>To see your changes, you&#8217;ll need to go back to the main timeline and add your new <em>ProfileTabMc</em> symbol<br />
to your <em>Content</em> layer in the <em>Profile</em> page section. You can use the Free Transform tool (Q) to make<br />
it fit to your stage accordingly if the size of your symbol isn&#8217;t just right.</p>
<p>You can preview you profile page now if you&#8217;d like (Ctrl+Enter).</p>
<p>You&#8217;ll probably notice that your popups start out being visible. To fix this issue let&#8217;s add some more AS to<br />
the <em>ProfileTabMc</em>&#8216;s <em>Actions</em> layer. This AS block will tell the popups to not be visible on startup.<br />
After you add this code to your MC, test it out and see the cool effects!</p>
<pre><code>///////////////////////////////////////////////////////////////////// // Startup. ///////////////////////////////////////////////////////////////////// whoPopup_mc.visible = false; whatPopup_mc.visible = false; whenPopup_mc.visible = false; wherePopup_mc.visible = false; whyPopup_mc.visible = false;</code></pre>
<p>You like? Cool. Well, only one more tweak before we move on to the next page. If you notice, when you click any<br />
of your buttons, the corresponding popup displays. That&#8217;s what it should do; however, even after a popup displays<br />
you can still click another button. This is not a desired behavior. Let&#8217;s come up with a way to stop this. Here&#8217;s<br />
what I have.</p>
<p>My proposal is to make a layer that will cover up the other buttons while a popup is being displayed. So, go back<br />
into your <em>ProfileTabMc</em> symbol and copy the tab&#8211;just the tab part, not the buttons. Next, paste that tab into<br />
a new symbol. Call it <em>TabCoverMc</em>. One small touch, change the graphic&#8217;s Alpha property to 80% in fill color<br />
picker.</p>
<div class="pic">
<p><img src="/flashportfolio/Alpha.bmp" alt="" /></p>
<p>After you create that symbol, drag it into your <em>ProfileTabMc</em> symbol on a new laber called <em>TabCover.</em> Be<br />
sure that the layer is above the <em>Buttons</em> layer and below the <em>Popups</em> layer. Here&#8217;s the result.</p>
<div class="pic">
<p><img src="/flashportfolio/TabCover.bmp" alt="" /></p>
<p>Now you can give the <em>TabCoverMc</em> symbol an <em>Instance Name</em> of <em>tabCover_mc</em>. We also want this symbol<br />
to be hidden on startup. So, let&#8217;s hide it just like our caption buttons.</p>
<pre><code>tabCover_mc.visible = false;</code></pre>
<p>When the user clicks a caption button to see a popup, we can now cover up the other buttons with the new <em>TabCoverMc</em><br />
symbol in our <code>showPopup</code> and <code>closePopup</code> functions. Here are the modified functions.</p>
<pre><code>///////////////////////////////////////////////////////////////////// // Event Handlers. ///////////////////////////////////////////////////////////////////// function closePopup(Event:MouseEvent):void { //Fade out the tab cover. utils.Fader.fadeOut(tabCover_mc); //If the current popup has been set, fade it out. if(this.currentPopup != null) utils.Fader.fadeOut(currentPopup); } function showPopup(Event:MouseEvent):void { //Set the current popup. this.setCurrentPopup(Event); //Fade in the tab cover. utils.Fader.fadeIn(tabCover_mc); //If the current popup has been set, fade it in. if(this.currentPopup != null) utils.Fader.fadeIn(currentPopup); }</code></pre>
<p>To finish off this section, add a fade effect to the <em>ProfileMc</em> symbol in your <em>Actions</em> layer. This<br />
will fade in your <em>ProfileMc</em> symbol when the page is displayed.</p>
<div class="pic">
<p><img src="/flashportfolio/FadeProfile.bmp" alt="" /></p>
<p>Take a look at the <em>Profile</em> page now. It&#8217;s a beauty! Great job!</p>
<p>The Résumé Page</p>
<p>The <em>Résumé</em> page won&#8217;t take long at all. First create a new Movie Clip call <em>ResumeMc</em>.<br />
Inside of the MC, you&#8217;ll need to either copy and paste my résumé or use your own. One little thing,<br />
make sure to check the Check Box marked <em>Export for ActionScript</em>.</p>
<div class="pic">
<p><img src="/flashportfolio/ExportToAs.bmp" alt="" /></p>
<p>Well that was simple enough. Now, let&#8217;s use it. Next you&#8217;ll need to create another Movie Clip called<br />
<em>ResumeScollerMc</em>. Inside of this MC you&#8217;ll need a ScrollPane from the Components panel. You<br />
can find that under <em>Window&#8211;&gt;Components</em> (or Ctrl+F7). Once you locate the ScrollPane, drag one<br />
onto your <em>ResumeScrollPaneMc</em>.</p>
<div class="pic">
<p><img src="/flashportfolio/ScrollPane.bmp" alt="" /></p>
<p>This is a really neat control. Since our résumé is too long to fit on splashy, the ScrollPane component will<br />
scroll our <em>ResumeMc</em> symbol up and down. All we need to do is to set a couple of the ScrollPane&#8217;s<br />
parameters to tell it which MC we want it to scroll.</p>
<p>To view the ScrollPane&#8217;s parameters, select <em>Window&#8211;&gt;Properties&#8211;&gt;Parameters</em>. Then select your ScrollPane<br />
and you should see its parameters listed on the Parameters panel.</p>
<p>The only parameter you should need to set is the <em>source</em> parameter. Set that to the symbol we want to<br />
scroll&#8211;<em>ResumeMc</em>. This is the reason you needed to check <em>Export for ActionScript</em> when making the<br />
<em>ResumeMc</em> symbol. In a nutshell, since we&#8217;re not adding this directly to our stage, the AS compiler needs<br />
to know what MC to scroll.</p>
<div class="pic">
<p><img src="/flashportfolio/Parameters.bmp" alt="" /></p>
<p>You may now drag the <em>ResumeScrollerMc</em> onto the main timeline on the <em>Content</em> layer of the <em>Resume</em><br />
page. Also, add a fade effect to the <em>ResumeScrollerMc</em> symbol in your <em>Actions</em> layer. You can do this<br />
the same exact way you did the <em>ProfileMc</em> symbol&#8217;s fade effect.</p>
<p>More than likely, you&#8217;re going to notice that your scrollbar does not look like mine. If that&#8217;s the case, you can<br />
actually edit the ScrollPane component&#8211;just like a Movie Clip. Pretty awesome, huh?! Just locate the ScrollPane<br />
in your Library (probably under <em>Component Assets</em>), right click, and choose <em>Edit</em>.</p>
<p>You should see something like the following. Double click the ScrollBar Skins symbol.</p>
<div class="pic">
<p><img src="/flashportfolio/ScrollBarSkins.bmp" alt="" /></p>
<p>Now, you can edit any of the skins you see before you. Here&#8217;s what mine look like after I&#8217;ve tweaked them.</p>
<div class="pic">
<p><img src="/flashportfolio/Skins.bmp" alt="" /></p>
<p>That&#8217;s it for the <em>Resume</em> page! On to the <em>Contact</em> page.</p>
<p>The Contact Page</p>
<p>The <em>Contact</em> page really does not need much explanation. You&#8217;ve already done this multiple times.</p>
<p>But, just for kicks, here you go. All you need to do is create a new Movie Clip called <em>ContactMc</em><br />
that contains your contact information. Simple stuff really. Then you can give it an <em>Instance Name</em><br />
and use the <code>utils.Fader</code> class to fade in the MC when the <em>Contact</em> page&#8217;s frame is hit.</p>
<p>That&#8217;s it!</p>
<div class="pic">
<p><img src="/flashportfolio/ContactPage.bmp" alt="" /></p>
<p>The Portfolio Page</p>
<p>My <em>Portfolio</em> page definitely needs some work. But we&#8217;ll walk through what we have anyway. It&#8217;s<br />
basically just using two buttons that will open a new window.</p>
<p>All I did to create my buttons was take a screen shot of a couple websites I&#8217;ve been working on. Then I imported<br />
them into my Library and dropped them on a button. Then, on the <em>Over</em> frame of the button, I made the<br />
image a little bigger and added a caption at the bottom. Here&#8217;s the first button for reference.</p>
<div class="pic">
<p><img src="/flashportfolio/PortfolioButton.bmp" alt="" /></p>
<p>After you create your two buttons, simply drop them onto your main stage.</p>
<p>Next you can add a little heading if you&#8217;d like.</p>
<div class="pic">
<p><img src="/flashportfolio/PortfolioHeading.bmp" alt="" /></p>
<p>Select your three items&#8211;the heading and the two buttons. Next, hit F8 and convert those<br />
three things into one Movie Clip so we will be able to add our fade effect. I called my new MC <em>PortfolioMc</em>.</p>
<p>We&#8217;re almost done! Let&#8217;s add a little bit of AS to open up a new browser window when a button is clicked. Double click<br />
your <em>PortfolioMc</em> symbol to take it into Edit mode. Next, add a new layer called <em>Actions</em>. In that layer<br />
paste the following code.</p>
<pre><code>css_btn.addEventListener(MouseEvent.CLICK, cssClicked); mlt_btn.addEventListener(MouseEvent.CLICK, mltClicked); function cssClicked(event:MouseEvent):void { //Create a new URL request. var url:URLRequest = new URLRequest("http://www.clixsoftwaresolutions.com/"); //Open up the URL in a new window. navigateToURL(url, "_blank"); } function mltClicked(event:MouseEvent):void { //Create a new URL request. var url:URLRequest = new URLRequest("http://www.mylooptracker.com/"); //Open up the URL in a new window. navigateToURL(url, "_blank"); }</code></pre>
<p>I know what you&#8217;re thinking. Yes, we could&#8217;ve used another <code>switch</code> statement, but for just two buttons<br />
I opted to just use two functions. Good catch though!</p>
<p>Finally, just add your <code>utils.Fade.fadeIn(portfolio_mc)</code> function call into the <em>Portfolio</em> pages&#8217;s<br />
<em>Action</em> layer on the main timeline, and you&#8217;re done!</p>
<p>Note: If you debug your movie now and try to click one of your buttons on the <em>Portfolio</em> page, you will<br />
probably see the following warning. No worries, it&#8217;s supposed to do that. If you test your movie (Ctrl+Enter) or<br />
deploy your movie&#8211;it should work like a charm!</p>
<div class="pic">
<p><img src="/flashportfolio/Warning.bmp" alt="" /></p>
<p>The Respect Page</p>
<p>Ahhhhhh, at last. The final page. Well, in my opinion, I&#8217;ve saved the best for last. I love this little scroller,<br />
and the best part is that it&#8217;s not too hard to achieve this awesome effect.</p>
<p>Start out by making a new Movie Clip called <em>RespectStageMc</em>. On the first layer in our MC we want to introduce<br />
something new to jwright.info&#8211;masking. You&#8217;ll see the power of masking real soon.</p>
<p>Secondly, place a rectangle centered on the page on a layer called <em>Scroll Area</em>. Set its fill color to #999999<br />
with no stroke. Don&#8217;t worry about size quite yet. Next, go back to your main timeline and add the MC to the <em>Content</em><br />
layer on your <em>Respect</em> page.</p>
<p>Now, you can go back into your MC and adjust the size of your rectangle to be the exact width of splashy.<br />
(Remember him?) Make sure that your MC is centered with your navigational arrow buttons before you resize anything.</p>
<div class="pic">
<p><img src="/flashportfolio/ScrollArea.bmp" alt="" /></p>
<p>Let&#8217;s add a little more to our MC. Let&#8217;s place a darker rectangle (#333333) above and below our <em>Scroll Area</em> layer.</p>
<div class="pic">
<p><img src="/flashportfolio/ScrollArea2.bmp" alt="" /></p>
<p>Next, add a heading.</p>
<div class="pic">
<p><img src="/flashportfolio/ScrollHeading.bmp" alt="" /></p>
<p>On to the thumbnails! Again, feel free to use the thumbnail buttons I&#8217;ve already made, or you can make your own. The concept<br />
is pretty much like what you did on the <em>Portfolio</em> page&#8211;just a little smaller. Here&#8217;s what one of mine looks like.</p>
<div class="pic">
<p><img src="/flashportfolio/Thumb.bmp" alt="" /></p>
<p>After you get all of your thumbnails made, place them all centered, and spaced evenly, on a single layer called<br />
<em>Thumbs</em> in your MC.</p>
<p>Next, you&#8217;ll need to go back into that MC and paste this code. No real need to explain here. We&#8217;re just popping up a new<br />
browser window and loading the site that was clicked.</p>
<div class="pic">
<p><img src="/flashportfolio/ThumbsInline.bmp" alt="" /></p>
<pre><code>///////////////////////////////////////////////////////////////////// // Includes and Imports. ///////////////////////////////////////////////////////////////////// import flash.net.navigateToURL; import flash.net.URLRequest; ///////////////////////////////////////////////////////////////////// // Event Setup. ///////////////////////////////////////////////////////////////////// advanced_btn.addEventListener(MouseEvent.CLICK, gotoSite); henz_btn.addEventListener(MouseEvent.CLICK, gotoSite); kalou_btn.addEventListener(MouseEvent.CLICK, gotoSite); studio_btn.addEventListener(MouseEvent.CLICK, gotoSite); crystal_btn.addEventListener(MouseEvent.CLICK, gotoSite); deepBlue_btn.addEventListener(MouseEvent.CLICK, gotoSite); wolf_btn.addEventListener(MouseEvent.CLICK, gotoSite); freedom_btn.addEventListener(MouseEvent.CLICK, gotoSite); ///////////////////////////////////////////////////////////////////// // Event Handlers. ///////////////////////////////////////////////////////////////////// function gotoSite(Event:MouseEvent):void { var url:URLRequest = null; switch (Event.target) { case advanced_btn : url = new URLRequest("http://www.2advanced.com/"); break; case henz_btn : url = new URLRequest("http://www.henzstudio.com/"); break; case kalou_btn : url = new URLRequest("http://www.kalou.ch/fr/"); break; case studio_btn : url = new URLRequest("http://www.studiopiro.com/index2.htm"); break; case crystal_btn : url = new URLRequest("http://www.crystalmedia.co.yu/"); break; case deepBlue_btn : url = new URLRequest("http://www.deepblue.com/"); break; case wolf_btn : url = new URLRequest("http://www.wolfpeak.net/"); break; case freedom_btn : url = new URLRequest("http://www.freedomoftheseas.com/"); break; } if (url != null) { navigateToURL(url, "_blank"); } }</code></pre>
<p>After you&#8217;ve done that, select all of your thumbs and convert them into one single Movie Clip called <em>ThumbsScrollerMc</em>.<br />
You&#8217;ll see why in just a minute.</p>
<p>As you can see right now, the thumbnails are running off of the stage to the left. If you test your movie you&#8217;ll<br />
see them there as well. This is not what we want. We want the thumbnails to disappear as they move off of splashy.</p>
<p>To achieve this effect we need to use a technique called <em>Masking</em>. To mask the thumbnails, insert a new layer<br />
above your <em>Thumbs</em> layer called <em>Scroll Mask</em>. Right click on the new layer and select <em>Mask</em>.</p>
<p>On this layer you&#8217;ll need to create a rectangle the same exact size as the one on your <em>Scroll Area</em> layer. May I suggest that<br />
you just copy and paste-in-place that rectangle from the <em>Scroll Area</em> layer. You will need to change its<br />
fill color alpha value to 10%. This is just so you can see what&#8217;s behind the mask.</p>
<p>If you test your movie now, you&#8217;ll notice how the only thumbnails that display are the ones that are directly behind the mask.</p>
<p>Now, the cool part. To be able to scroll left and right, you&#8217;ll need a left and right arrow. I just used the arrow buttons<br />
we used on our main timeline and placed them on a new layer. I also added a little white border around the arrows.</p>
<div class="pic">
<p><img src="/flashportfolio/ScrollArrows.bmp" alt="" /></p>
<p>Here&#8217;s the code you&#8217;ll need to scroll your <em>ThumbScrollerMc</em> named <em>thumbs_mc</em>.</p>
<pre><code>///////////////////////////////////////////////////////////////////// // Includes and Imports. ///////////////////////////////////////////////////////////////////// import fl.transitions.Tween; import fl.transitions.easing.Regular; ///////////////////////////////////////////////////////////////////// // Event Setup. ///////////////////////////////////////////////////////////////////// left_btn.addEventListener(MouseEvent.CLICK, scrollLeft) right_btn.addEventListener(MouseEvent.CLICK, scrollRight) ///////////////////////////////////////////////////////////////////// // Event Handlers. ///////////////////////////////////////////////////////////////////// function scrollLeft(Event:MouseEvent):void { //Shift the MC left 150 units. var myTween:Tween = new Tween(thumbs_mc, "x", Regular.easeOut, thumbs_mc.x, (thumbs_mc.x - 150), 1, true); } function scrollRight(Event:MouseEvent):void { //Shift the MC right 150 units. var myTween:Tween = new Tween(thumbs_mc, "x", Regular.easeOut, thumbs_mc.x, (thumbs_mc.x + 150), 1, true); }</code></pre>
<p>Essentiall, we are just shifting the <em>ThumbsScrollerMc</em> left and right when the user clicks an<br />
arrow button. Test it out!</p>
<p>The only thing left to do is to add the fade in effect on the main timeline for the <em>RespectStageMc</em><br />
symbol. Great work!</p>
<h2>Conclusion</h2>
<p>Well congrats fellow Flashians! You now know how to create <a title="flash websites" href="http://www.webdesigndev.com/flash/learn-how-to-create-a-flash-website">flash websites</a> and have successfully completed the entire<br />
<a onclick="javascript:window.open('http://www.jwright.info')">jwright.info</a> website!</p>
<p>Feel free to also look at the HTML file included in the package to see how the .swf file is displayed in the<br />
browser.</p>
<p>I know this tutorial was a little long&#8211;maybe the longest you&#8217;ve ever done. But the content covered in this<br />
walk through should give you a <strong>great</strong> foundation for developing your own Flash site. Keep up the good work! By the way, if you feel like this is too much work, you can <a href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&amp;experiment_id=af_webdesigndev.com" target="_blank">create a free professional flash website with Wix</a>.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.webdesigndev.com/flash/creating-a-flash-portfolio-website/feed</wfw:commentRss>
		<slash:comments>101</slash:comments>
		</item>
		<item>
		<title>Photoshop Web Design Tutorial</title>
		<link>http://www.webdesigndev.com/photoshop/photoshop-web-design-tutorial</link>
		<comments>http://www.webdesigndev.com/photoshop/photoshop-web-design-tutorial#comments</comments>
		<pubDate>Tue, 08 Jul 2008 12:05:44 +0000</pubDate>
		<dc:creator>Web Design</dc:creator>
				<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Creating Websites]]></category>
		<category><![CDATA[photoshop design]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.webdesigndev.com/?p=43</guid>
		<description><![CDATA[In this tutorial I will be teaching you how to make a professional website design from start to finish. You will learn how to use the most usable photoshop tools for web design purposes.]]></description>
			<content:encoded><![CDATA[<h2>Learn How To Design The Perfect Website Using Adobe Photoshop</h2>
<p><strong>Note:</strong> If you are very new to photoshop or web design you may have some trouble with this tutorial.  Here is the end result:  <img src="http://www.webdesigndev.com/websitelayout/desktop.jpg" alt="" /> Start by making a new canvas around 950&#215;950 pixels. Fill it with light gray. Select the top with the Rectangular marquee tool and fill it with a darker grey like so:  <img src="http://www.webdesigndev.com/websitelayout/small/1.jpg" alt="" /> On the dark gray layer go to Layer- Layer Style- Gradient Overlay and use a gradient like this:  <img src="http://www.webdesigndev.com/websitelayout/2.jpg" alt="" width="448" height="519" /> Now select the pencil tool and a 1px brush. Make a line above the light gray layer. To keep it straight you can hold shift.  <img src="http://www.webdesigndev.com/websitelayout/small/3.jpg" alt="" /> Make a new Layer and select the Rectangular Marquee Tool and make a selection like below. Now select the Gradient Tool. If you can&#8217;t see it right click on the Paint Bucket Tool and it should appear. Select the 2nd gradient option and make sure that the foreground color is white.  <img src="http://www.webdesigndev.com/websitelayout/small/4.jpg" alt="" />Hit OK then drag your mouse down like below:  <img src="http://www.webdesigndev.com/websitelayout/small/5.jpg" alt="" /> Here we have the result quite nice no?  <img src="http://www.webdesigndev.com/websitelayout/small/6.jpg" alt="" /> I feel the white is abit strong so i lowered the opacity a little bit.  <img src="http://www.webdesigndev.com/websitelayout/small/7.jpg" alt="" /> Make a new layer and select the Pencil Tool again with a 1px brush. Draw a white line like below:  <img src="http://www.webdesigndev.com/websitelayout/small/9.jpg" alt="" /> This gives it a cool kinda &#8220;ingraved&#8221; effect.  <img src="http://www.webdesigndev.com/websitelayout/small/10.jpg" alt="" /> Off to the navigation! Select the Rounded Marquee Tool with a radius of 5 and make a selection like below:  <img src="http://www.webdesigndev.com/websitelayout/small/11.jpg" alt="" /> Fill it with white and it should look something like this:  <img src="http://www.webdesigndev.com/websitelayout/small/12.jpg" alt="" /> Cut of the lower part of the button with the Rectangular Marquee Tool. Make the color of the button just a bit darker so it doesn&#8217;t stand out too much.  <img src="http://www.webdesigndev.com/websitelayout/small/14.jpg" alt="" /> Go to Select- Load Selection then go to Select-Modify-Contract and select 2px. Then Select the Gradient Tool again and now make sure the foreground color is black. Drag down just like before.  <img src="http://www.webdesigndev.com/websitelayout/small/16.jpg" alt="" /> Should look something like this? Getting better right? Lower the opacity of the gradient layer to suit your taste.  <img src="http://www.webdesigndev.com/websitelayout/small/17.jpg" alt="" /> Now make a new group called button.  <img src="http://www.webdesigndev.com/websitelayout/small/18.jpg" alt="" /> Click on the layers while having ctrl pressed down. Now click and drag them into the button folder.  <img src="http://www.webdesigndev.com/websitelayout/small/19.jpg" alt="" /> Now go to Layer- Duplicate group and move all the buttons around the way you like. I decided I am going to modify one of the buttons and make it a rollover button. Click the button group you want to edit and select the FIRST layer in that group. Go to Layer-Layer Style-Color Overlay and pick an orange color.  <img src="http://www.webdesigndev.com/websitelayout/small/20.jpg" alt="" /> Slap some text in thoose babies and no way&#8230;it&#8217;s starting to look like a navigation! Select a dark gray color for the text.  <img src="http://www.webdesigndev.com/websitelayout/small/21.jpg" alt="" />It should look something like this now&#8230;  <img src="http://www.webdesigndev.com/websitelayout/small/22.jpg" alt="" /> Make a new layer and using the Rectangular Marque Tool make a black shape like below.  <img src="http://www.webdesigndev.com/websitelayout/small/23.jpg" alt="" /> Select the FIRST layer in the rollover button group and go to Select- Load Selection. Using the Gradient Tool set on white to transparent make a gradient. Set the layer Blending Mode to overlay to give it a more orangish color.  I&#8217;ve also just putt in some text.  <img src="http://www.webdesigndev.com/websitelayout/small/24.jpg" alt="" /> Select the text layer and go to Select- Load selection and move the selection up by about 1-2 pixels.  <img src="http://www.webdesigndev.com/websitelayout/small/25.jpg" alt="" /> Select the Gradient Tool and on a new layer drag up. Set the layer to overlay. Here&#8217;s the result:  <img src="http://www.webdesigndev.com/websitelayout/small/26.jpg" alt="" /> I have duplicated the gradient layer to give it a stronger transition from yellow to orange.  <img src="http://www.webdesigndev.com/websitelayout/small/27.jpg" alt="" /> Select the text layer again and go to Select- Load Selection and move it up by 1-2 pixels. Now select the Gradient Tool, but we won&#8217;t use from white to transparent now we will use black to transparent.  <img src="http://www.webdesigndev.com/websitelayout/small/28.jpg" alt="" /> Drag it up on a new layer and it should look like something below:  <img src="http://www.webdesigndev.com/websitelayout/small/29.jpg" alt="" /> Select the Rectangular Marquee Tool and erase the webdesign black gradient part, since we only want the black gradient layer to be on the &#8220;dev&#8221; text.  <img src="http://www.webdesigndev.com/websitelayout/small/30.jpg" alt="" /> Looks quite good, no?  <img src="http://www.webdesigndev.com/websitelayout/small/31.jpg" alt="" /> Now just slap in the url font tahoma size 11 and no AA.  <img src="http://www.webdesigndev.com/websitelayout/small/34.jpg" alt="" /> Make a selection with the Polygonal Lasso Tool like so:  <img src="http://www.webdesigndev.com/websitelayout/small/35.jpg" alt="" /> Select the brush tool around 70px it has to be a soft brush! and brush the inside of the selection  <img src="http://www.webdesigndev.com/websitelayout/small/36.jpg" alt="" /> Erase any neccesary bits and it sohuld look like this:  <img src="http://www.webdesigndev.com/websitelayout/small/37.jpg" alt="" /> Duplicate the layer and move it around a bit&#8230;  <img src="http://www.webdesigndev.com/websitelayout/small/38.jpg" alt="" /> Duplicate it again and move it around&#8230;  <img src="http://www.webdesigndev.com/websitelayout/small/39.jpg" alt="" /> Erase any bits that stick over the navigation or over the banner part&#8230;  <img src="http://www.webdesigndev.com/websitelayout/small/40.jpg" alt="" /> Move the 3brushed layers below the text layer so it doesn&#8217;t cover the text.  <img src="http://www.webdesigndev.com/websitelayout/small/41.jpg" alt="" /> Select the Rounded Marquee Tool with a radius around 3-5px, make a selection and fill it with a dark gray color.  <img src="http://www.webdesigndev.com/websitelayout/small/42.jpg" alt="" /> With the Polygonal Lasso Tool make an arrow shape so the whole part looks like a bubble.  <img src="http://www.webdesigndev.com/websitelayout/small/43.jpg" alt="" /> Go to Layer-Layer Style-Stroke and stroke it with a 1px light gray color  <img src="http://www.webdesigndev.com/websitelayout/small/46.jpg" alt="" /> Just some text again, went with a bit more playful font  <img src="http://www.webdesigndev.com/websitelayout/small/48.jpg" alt="" /> Going to start the work on the content now. Select the Rounded Marquee Tool with the same radius as before and make a light gray box.  <img src="http://www.webdesigndev.com/websitelayout/small/49.jpg" alt="" /> Make an arrow like shape again with the Polygonal Lasso Tool.  <img src="http://www.webdesigndev.com/websitelayout/small/50.jpg" alt="" /> Go to Layer-Layer Style-Stroke and use the settings below:  <img src="http://www.webdesigndev.com/websitelayout/small/51.jpg" alt="" /> Duplicate the box layer and move it up and fill it with a dark gray color. Should look something like this:  <img src="http://www.webdesigndev.com/websitelayout/small/52.jpg" alt="" /> Go to Select-Load Selection and move the selection down by 1px.  <img src="http://www.webdesigndev.com/websitelayout/small/53.jpg" alt="" /> Select the Gradient Tool and make sure you&#8217;re foreground color is white then drag it down just like before.  <img src="http://www.webdesigndev.com/websitelayout/small/54.jpg" alt="" /> Should look something like this&#8230;its slowly getting there, huh?  <img src="http://www.webdesigndev.com/websitelayout/small/55.jpg" alt="" /> I move the gradient layer by 1pixel to the right.  <img src="http://www.webdesigndev.com/websitelayout/small/56.jpg" alt="" /> Now cutt it in the middle like so using the Rectangular Marquee Tool  <img src="http://www.webdesigndev.com/websitelayout/small/57.jpg" alt="" /> Duplicate it and go to Layer-Transform-Flip Horizontal.  <img src="http://www.webdesigndev.com/websitelayout/small/58.jpg" alt="" /> Now cutt the &#8220;highlighted&#8221; part of the gradient using the Rectangular Marquee TOol and now the gradient should be simetrical  <img src="http://www.webdesigndev.com/websitelayout/small/59.jpg" alt="" /> Move the gradient layer and the dark gray layer below so the top of the light gray layer box sticks out on the top by about 2px.Also move these layers above the light gray box.  <img src="http://www.webdesigndev.com/websitelayout/small/60.jpg" alt="" /> Now using the Rectangular Marquee Tool cut the remaining dark gray layer.  <img src="http://www.webdesigndev.com/websitelayout/small/61.jpg" alt="" /> Now select the light gray box and go to Layer-Layer Style-Outer glow and use these settings  <img src="http://www.webdesigndev.com/websitelayout/small/62.jpg" alt="" /> Slap some text in it  <img src="http://www.webdesigndev.com/websitelayout/small/63.jpg" alt="" /> Make a new layer and use the 1px brush with the Pencil Tool and make a line like below  <img src="http://www.webdesigndev.com/websitelayout/small/64.jpg" alt="" /> Decrease the opacity of the layer to whatever you think looks good  <img src="http://www.webdesigndev.com/websitelayout/small/65.jpg" alt="" /> Some more content text nothing special&#8230;  <img src="http://www.webdesigndev.com/websitelayout/small/66.jpg" alt="" /> Nove move the whole box area above close to the banner.<br />
<img src="http://www.webdesigndev.com/websitelayout/small/67.jpg" alt="" /> Duplicate the whole box area. I suggest you putt these layers in a Group and then duplicate the group( Layer- Duplicate Group) and move the layers down  <img alt="" /> Now on the second layer hide the outerglow effect and the stroke effect on the light gray layer by clicking the eye in the layers box<br />
<img src="http://www.webdesigndev.com/websitelayout/small/69.jpg" alt="" /> Duplicate that layer and move it down to make the whole box bigger.  <img src="http://www.webdesigndev.com/websitelayout/small/70.jpg" alt="" /> Now merge the 2layers and turn on the outer glow and stroke effect. VOILA our box is bigger  <img src="http://www.webdesigndev.com/websitelayout/small/72.jpg" alt="" /> Some more text to not make it so empty.  <img src="http://www.webdesigndev.com/websitelayout/small/73.jpg" alt="" /> Make a new layer on the right side with the Rectangular Marquee Tool and fill it with dark gray.  <img src="http://www.webdesigndev.com/websitelayout/small/74.jpg" alt="" /> Go to File-New and make a new canvas 30&#215;30 pixels. We&#8217;re going to make a sweet pattern. Make a shape like below with the Polygonal Lasso Tool. Then go to Edit- Define Pattern  <img src="http://www.webdesigndev.com/websitelayout/small/75.jpg" alt="" /> Now back to out design psd. Make a selection with the Rectangular Marquee TOol and go to Edit-Fill and select Pattern. Find out pattern that we made and hit ok. Decided to remove the brush detail we made in the banner, because it just wasn&#8217;t working&#8230;.  <img src="http://www.webdesigndev.com/websitelayout/small/76.jpg" alt="" /> Decided a Light gray color would fit nicer.  <img src="http://www.webdesigndev.com/websitelayout/small/77.jpg" alt="" /> Repeat the same step on the right side of the navigation  <img src="http://www.webdesigndev.com/websitelayout/small/78.jpg" alt="" /> Back to our content boxes&#8230;. Select the Brush Tool and use a soft brush around 100 pixels with black color. Brush the right side of the bar then cut of the unneccessary parts with the Rectangular Marquee Tool.  <img src="http://www.webdesigndev.com/websitelayout/small/79.jpg" alt="" /> Go to Layer-Transform-Flip horizontal. Make sure this new layer is below the text layer so it doesn&#8217;t cover it up.Set it to overlay and play with the opacity. Then move it down to the second box so they are identical.  <img src="http://www.webdesigndev.com/websitelayout/small/80.jpg" alt="" /> Went for a bit of personal detail with the lamp in the webdesigndev text&#8230;made the icon myself a while ago. These kind of things make your design special.  <img src="http://www.webdesigndev.com/websitelayout/small/81.jpg" alt="" /> I&#8217;ve darkened the whole background to make the content boxes pop.  <img src="http://www.webdesigndev.com/websitelayout/small/82.jpg" alt="" /> Select the light gray layer of the content box and select the Gradient Tool from white to transparent. drag it up from the arrow towards the text.  <img src="http://www.webdesigndev.com/websitelayout/small/83.jpg" alt="" /> Should look just slightly modified.  <img src="http://www.webdesigndev.com/websitelayout/small/84.jpg" alt="" /> Ive duplicated the white gradient we did a couple of times to make the effect stronger. Now make a selection with the Rectangular Marquee Tool like shown below and with the Gradient Tool drag it from your mouse down to the text.  <img src="http://www.webdesigndev.com/websitelayout/small/85.jpg" alt="" /> Your box should look like this  <img src="http://www.webdesigndev.com/websitelayout/small/86.jpg" alt="" /> Duplicate all these effects and apply them to the second box  <img src="http://www.webdesigndev.com/websitelayout/small/87.jpg" alt="" /> Decided to stick a picture in the second box to make the design abit less dull  <img src="http://www.webdesigndev.com/websitelayout/small/88.jpg" alt="" /> Now we start working on the right column&#8230;using the Rounded Marquee Tool make a shape like below  <img src="http://www.webdesigndev.com/websitelayout/small/89.jpg" alt="" /> Decrease the opacity to suit your needs.  <img src="http://www.webdesigndev.com/websitelayout/small/90.jpg" alt="" /> Make another shape using the Rounded Marquee Tool and go to Layer-Layer Style-Gradient Overlay and use these settings  <img src="http://www.webdesigndev.com/websitelayout/small/91.jpg" alt="" /> Now go to Stroke and use these settings:  <img src="http://www.webdesigndev.com/websitelayout/small/92.jpg" alt="" />Duplicate the first bar layer and move it 1px up.Go to the first BAR layer and go to Select-Load Selection then select the duplicated layer and hit delete.  <img src="http://www.webdesigndev.com/websitelayout/small/93.jpg" alt="" /> Now move the duplicated layer down abite and go to Layer-Layer Style-Color overlay to make it a light gray color. This makes the box pop out.  <img src="http://www.webdesigndev.com/websitelayout/small/94.jpg" alt="" /> Make another shape with the Rounded Marquee Tool this will be for our text in the right column.  <img src="http://www.webdesigndev.com/websitelayout/small/95.jpg" alt="" /> Fill it with a darker gray color so it looks kind of ingraved  <img src="http://www.webdesigndev.com/websitelayout/small/96.jpg" alt="" /> Duplicate the layer and move it 1px down. Now go to the original layer and go to Layer-Layer Style-Color Overlay and use a light gray color so a tiny gray stroke should appear only at the bottom of the box.  <img src="http://www.webdesigndev.com/websitelayout/small/97.jpg" alt="" /> Decrease the opacity abit so it doesn&#8217;t stand out too much.  <img src="http://www.webdesigndev.com/websitelayout/small/98.jpg" alt="" /> Slap some text in the box&#8230;  <img src="http://www.webdesigndev.com/websitelayout/small/99.jpg" alt="" /> Duplicate the whole box and move it down.  <img src="http://www.webdesigndev.com/websitelayout/small/100.jpg" alt="" /> Decided to give it abit more and made a doted line on the side of the column. This isn&#8217;t hard to do just takes alot of time.  <img src="http://www.webdesigndev.com/websitelayout/small/101.jpg" alt="" /> Go to the first banner layer and go to Layer- Layer Style-Gradient Overlay and use these settings:  <img src="http://www.webdesigndev.com/websitelayout/small/102.jpg" alt="" /> Wow its starting to look like a good design now!  <img src="http://www.webdesigndev.com/websitelayout/small/103.jpg" alt="" /> Starting on the footer area. Made a selection with the Rounded Marquee Tool and filled it with our pattern. Then go to Edit-Transform-Flip vertical.  <img src="http://www.webdesigndev.com/websitelayout/small/104.jpg" alt="" /> A light gray color to match the banner pattern color.  <img src="http://www.webdesigndev.com/websitelayout/small/105.jpg" alt="" /> Now just below the pattern layer make a new layer and fill it with the same color the main content is filled with.  <img src="http://www.webdesigndev.com/websitelayout/small/106.jpg" alt="" /> Starting to putt some text in it. Copyright is very important because you never know when your work might get stolen.  <img src="http://www.webdesigndev.com/websitelayout/small/107.jpg" alt="" /> Some personal touches to the content area. Using the Rounded Marquee Tool. Nothing we didn&#8217;t learn by now.  <img src="http://www.webdesigndev.com/websitelayout/small/108.jpg" alt="" /> Filled it with some actual content about webdesign dev and Michael Dunlop.  <img src="http://www.webdesigndev.com/websitelayout/small/109.jpg" alt="" /> And here it is. If you managed to finish this tutorial I&#8217;m sure you can become a great webdesigner. By the way, if you feel frustrated with designing, or just want an easy way out, you can always <a href="http://www.wix.com/start/wfree/?utm_campaign=af_webdesigndev.com&#038;experiment_id=af_webdesigndev.com" target="_blank" >create a free website with Wix</a>. Remember every photoshop tool even the most basic ones can be great when used right.  <img src="http://www.webdesigndev.com/websitelayout/small/110.jpg" alt="" /></p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.webdesigndev.com/photoshop/photoshop-web-design-tutorial/feed</wfw:commentRss>
		<slash:comments>41</slash:comments>
		</item>
		<item>
		<title>Advanced Interface Website Template Tutorial</title>
		<link>http://www.webdesigndev.com/photoshop/advanced-interface-website-template-tutorial</link>
		<comments>http://www.webdesigndev.com/photoshop/advanced-interface-website-template-tutorial#comments</comments>
		<pubDate>Fri, 02 May 2008 08:58:45 +0000</pubDate>
		<dc:creator>Web Design</dc:creator>
				<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Adobe Photoshop]]></category>
		<category><![CDATA[Creating Websites]]></category>
		<category><![CDATA[Interface Template]]></category>
		<category><![CDATA[Photoshop Tutorials]]></category>

		<guid isPermaLink="false">http://www.webdesigndev.com/photoshop/advanced-interface-website-template-tutorial</guid>
		<description><![CDATA[In this tutorial you will learn how to make a full interface tutorial from the beginning to the end. Using some advanced techniques you will be able to master the art of interface!]]></description>
			<content:encoded><![CDATA[<h2>Creating a Unique Interface Template Using Photoshop</h2>
<p>This is the finished result:</p>
<p><img src="http://www.webdesigndev.com/interfaceresult.jpg" /></p>
<p>Ok, here we go. Make a new canvas around 900&#215;900 pixels. Fill it with this color:</p>
<p><img src="/interfacetutorial/pic1.jpg" height="361" width="530" /></p>
<p>Now select the Brush Tool with opacity around 60% and flow around 40. Start laying down the basic shape of your part.</p>
<p>My result:</p>
<p><img src="/interfacetutorial/pic2.jpg" height="299" width="432" /></p>
<p>Don&#8217;t worry about how its not smooth at this stage yet. Its just to get an idea how your result will look like.</p>
<p>At this stage i cleaned up the outer shape of our interface. You can do this with the Eraser Tool (if you have a wacom it helps alot)</p>
<p>or you can do it with the Pen Tool, but make sure you select 0 feather and tick anti alias to give it smooth edges.</p>
<p><img src="/interfacetutorial/pic3.jpg" height="260" width="436" /></p>
<p>As you see the outer edges are cleaned up now.</p>
<p>Now select the Smudge Tool with a <strong>round hardbrush<br />
</strong>and strenght around 20%. Start smudging the interface.</p>
<p>Try not to smudge on the edges, becouse it will give them a blurry look. My result:</p>
<p><img src="/interfacetutorial/pic4.jpg" height="252" width="391" /></p>
<p>At this stage i cleaned up the inset. I just used Polygonal Lasso Tool and gave it some depth with a black brush.</p>
<p><img src="/interfacetutorial/pic5.jpg" height="243" width="391" /></p>
<p>Duplicate the inset bit and move it above and to the right. Decrease the opacity of the layer to suit your taste.</p>
<p>My result:</p>
<p><img src="/interfacetutorial/pic6.jpg" height="243" width="369" /></p>
<p>Now erase the parts that go out of the first inset that we created. You do this by selecting the first inset (select-load selection)</p>
<p>then select the second inset layer and go to select-inverse then just hit delete.</p>
<p>My result:</p>
<p><img src="/interfacetutorial/pic7.jpg" height="243" width="369" /></p>
<p>I selected the Dodge Tool with 3px airbrush. Started making strokes at the corners of our inset. Make sure your strokes are even, if not</p>
<p>you can also smudge them abit. Just experiment.</p>
<p><img src="/interfacetutorial/pic8.jpg" height="243" width="369" /></p>
<p>Made a 3px airbrush highlight of our gray interface part. You have to make sure it flows with the interface part your working on.</p>
<p><img src="/interfacetutorial/pic9.jpg" height="243" width="369" /></p>
<p>I duplicated all the layer we had now and moved them right above the background layer. Then i used the Move Tool to position</p>
<p>them under the top interface part.</p>
<p><img src="/interfacetutorial/pic10.jpg" height="227" width="369" /></p>
<p>Ok now i selected both of the gray bits layers and then go to image-adjustments-brightness and contrast.</p>
<p>Play with the settings. It varies alot, just experiment till you come out with something good.</p>
<p><img src="/interfacetutorial/pic%2011.jpg" height="227" width="369" /></p>
<p>Now duplicate the whole inset of the top interface part. And move with the Move Tool  like shown below:</p>
<p><img src="/interfacetutorial/pic%2012.jpg" height="227" width="369" /></p>
<p>Do the same step all over.</p>
<p><img src="/interfacetutorial/pic%2013.jpg" height="227" width="369" /></p>
<p>Now select the Pen tool and add an anchor point to make a slight curve to your selection. Right click-Make Selection.</p>
<p>This is a screenshot on how i did it:</p>
<p><img src="/interfacetutorial/pic%2014.jpg" height="423" width="555" /></p>
<p>This is my result:</p>
<p><img src="/interfacetutorial/pic%2015.jpg" height="227" width="369" /></p>
<p>Now duplicate the inset once again and move it just a little above the rest.</p>
<p><img src="/interfacetutorial/pic%2016.jpg" height="227" width="369" /></p>
<p>Now decrease the opacity of the layer to around 20% so that it gives a look like its ingraved.. My result:</p>
<p><img src="/interfacetutorial/pic17.jpg" height="227" width="369" /></p>
<p>Now duplicate all the parts we have till now and to go Edit-Transform-Flip horizontal. Then use the Move Tool to position the part correctly.</p>
<p><img src="/interfacetutorial/pic%2018.jpg" height="217" width="888" /></p>
<p>Select the Brush Tool with opacitiy 60% and flow 40% this is when i started laying down the basic content shape.</p>
<p><img src="/interfacetutorial/pic%2019.jpg" height="354" width="888" /></p>
<p>I cut off a part with the Polygonal Lasso Tool. Just to make the shape flow better. Don&#8217;t worry about the parts not being simetrical yet.</p>
<p><img src="/interfacetutorial/pic%2020.jpg" height="354" width="888" /></p>
<p>Now make a selection with the Rounder Marque Tool with radious around 30px.</p>
<p>Now select the Polygonal Lasso Tool and make sure you click the square like i shown below. It will cutt off a part of the selection.</p>
<p><img src="/interfacetutorial/pic%2021.jpg" height="354" width="888" /></p>
<p>This is what you should&#8217;ve had if you made everything good.</p>
<p><img src="/interfacetutorial/pic%2022.jpg" height="354" width="888" /></p>
<p>Filled the selection with a very very dark gray color.</p>
<p><img src="/interfacetutorial/pic%2023.jpg" height="354" width="888" /></p>
<p>Used Polygonal Lasso Tool to make a feel like its ingraved into the template. Erase the bits you don&#8217;t need with the Pen Tool.</p>
<p><img src="/interfacetutorial/pic%2024.jpg" height="354" width="888" /></p>
<p>Okay, you can also do this step with the burn tool if its better for you but i like the brush tool better. Select a dark gray color and brush around the edges</p>
<p>of the interface like so.</p>
<p><img src="/interfacetutorial/pic%2025.jpg" height="354" width="888" /></p>
<p>Select the Dodge Tool again with a 3px airbrush. Brush around the corners of the ingraved bit. Like so:</p>
<p><img src="/interfacetutorial/pic%2026.jpg" height="354" width="888" /></p>
<p>Duplicate the highlights to the other side. My result:</p>
<p><img src="/interfacetutorial/pic%2027.jpg" height="354" width="888" /></p>
<p>Adjusted the Brightness and Contrast and made the ingraved bit slightly darker.</p>
<p><img src="/interfacetutorial/pic%2028.jpg" height="354" width="888" /></p>
<p>Cleaned the shape up with the Polygonal Lasso Tool becouse the highlights looked really messy.</p>
<p>My result:</p>
<p><img src="/interfacetutorial/pic%2029.jpg" height="354" width="888" /></p>
<p>Select the Rounded Marque Tool with radius around 30 px and fill it with any color (doesn&#8217;t matter, becouse we will give it a gradient).</p>
<p>Now go to Layer-Layer Style-Gradient overlay. And use a gradient like this.</p>
<p>Hit OK.</p>
<p><img src="/interfacetutorial/pic%2030.jpg" height="551" width="751" /></p>
<p>Duplicate the layer. Go to Select-Load Selection. Then go to Select-Modify-Contract and select around 5 pixels.</p>
<p>Then go to Select-Inverse and hit delete.</p>
<p>Go to Gradient Overlay again and use a gradient like this:</p>
<p><img src="/interfacetutorial/pic%2031.jpg" height="551" width="751" /></p>
<p>Then select Inner Glow and use these options:</p>
<p>This is my result after all the above effects that we did.</p>
<p><img src="/interfacetutorial/pic%2033.jpg" height="396" width="892" /></p>
<p>Now insert some text to the banner area and go to Gradient Overlay again. This time use something like this:</p>
<p><img src="/interfacetutorial/pic%2034.jpg" height="641" width="632" /></p>
<p>This is how my text looks. I tried to gave it a kinda chrome feel.</p>
<p><img src="/interfacetutorial/pic%2035.jpg" height="458" width="896" /></p>
<p>I changed the font size. You do this by simply clicking on the text and choosing a bigger size.</p>
<p>Then we<br />
make a reflection with a blue color and cutt off the unneded parts. I used an ordinary hard brush.</p>
<p><img src="/interfacetutorial/pic%2036.jpg" height="458" width="896" /></p>
<p>Use the same technique on the other side and on the bottom. You can also try and experiment with diffirent blending modes of the template.</p>
<p><img src="/interfacetutorial/pic%2037.jpg" height="349" width="893" /></p>
<p>I added a blue outer glow to the banner area. Just experiment with the options and see what you can come up with. Its nothing hard.</p>
<p><img src="/interfacetutorial/pic%2038.jpg" height="349" width="893" /></p>
<p>Started making the navigation and used the Rounded Marque Tool to give it a slightly rounded feel.</p>
<p><img src="/interfacetutorial/pic%2039.jpg" height="349" width="893" /></p>
<p>Now go to Layer-Layer Style-Gradient Overlay and use these settings on every button.</p>
<p>Or you can make 1 button and then just duplicate it, it will also duplicate the effects of the layer.</p>
<p><img src="/interfacetutorial/pic%2040.jpg" height="635" width="706" /></p>
<p>This is my result after the gradient overlay:</p>
<p><img src="/interfacetutorial/pic%2041.jpg" height="349" width="893" /></p>
<p>Inserted some text. The font is visitor it works really good with small sizes. </p>
<p><img src="/interfacetutorial/pic%2042.jpg" height="349" width="893" /></p>
<p>I cutt out the parts of the navigation that were looking out of the ingraved part. You can make the selection with the Pen Tool</p>
<p>or you can just use Eraser Tool like i said before.</p>
<p><img src="/interfacetutorial/pic%2043.jpg" height="349" width="893" /></p>
<p>Started laying down the basic shape of the &#8220;tube like thingy&#8221;. Use Brush Tool with around 40 opacity and 40 flow.</p>
<p><img src="/interfacetutorial/pic%2044.jpg" height="349" width="893" /></p>
<p>Select the smudge tool at around 20% strenght and start smudging your shape. I also gave it more contrast. Go to</p>
<p>Image-Adjustments-Brightness and Contrast and select aronud 20 contrast.</p>
<p><img src="/interfacetutorial/pic%2045.jpg" height="349" width="893" /></p>
<p>Cleaned up the shape using the Pen Tool. Make sure you tick anti-alias or you will have choppy edges.</p>
<p><img src="/interfacetutorial/pic%2046.jpg" height="349" width="893" /></p>
<p>Now make a black circle with the Pen Tool. This really gives it a touched up feel plus more contrast to the template.</p>
<p><img src="/interfacetutorial/pic%2047.jpg" height="349" width="893" /></p>
<p>Cleaned up the shape abit more and gave it a bigger curve.</p>
<p><img src="/interfacetutorial/pic%2048.jpg" height="349" width="893" /></p>
<p>Go to Image-Adjustments-Brightness and Contrast and increase the brightness just abit to make it fit the rest of the template.</p>
<p><img src="/interfacetutorial/pic%2049.jpg" height="349" width="893" /></p>
<p>Now we are going to make a big vent. Start by making a shape with the Polygonal Lasso Tool like so:</p>
<p><img src="/interfacetutorial/pic%2050.jpg" height="349" width="893" /></p>
<p>Select the Eraser Tool with a big airbrush. Start erasing parts around the edge of the shape.</p>
<p>This may take some tries to get it right.</p>
<p>My result:</p>
<div id="in_post_ad_middle_1" style="margin: 5px;padding: 0px;"><a href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&experiment_id=af_webdesigndev.com1middlepostnewLP" target="_blank" rel="nofollow">
<img src="http://www.webdesigndev.com/expressions_website3.gif" width="300" height="250" alt="create a free website" /></a></div><p><img src="/interfacetutorial/pic%2051.jpg" height="349" width="893" /></p>
<p>Now duplicate that layer 4 times and move each of them down abit. This is my result, pretty nice huh?</p>
<p><img src="/interfacetutorial/pic%2052.jpg" height="349" width="893" /></p>
<p>At this step i duplicated the tube thingy and went to Edit-Transform-Flip Horizontal and moved it to the other side.</p>
<p><img src="/interfacetutorial/pic%2053.jpg" height="349" width="893" /></p>
<p>I noticed that the blue banner didnt quite fit the rest of the shape. So I selected the layer and went to Edit-Transform-Distort and</p>
<p>moved the corners abit more to each side so that it flows better.</p>
<p><img src="/interfacetutorial/pic%2054.jpg" height="349" width="893" /></p>
<p>I selected the vent layer and deleted it so taht it leaves a tiny stripe and gives it a better look in my opinion.</p>
<p><img src="/interfacetutorial/pic%2055.jpg" height="349" width="893" /></p>
<p>Now duplicate the tube thingies and move them like so. If they cover the part where the navigatino is, use the Pen Tool to cutt that part off.</p>
<p><img src="/interfacetutorial/pic%2056.jpg" height="349" width="893" /></p>
<p>At this stage i meant one more vent. Its the same technique so i won&#8217;t explain this step again.</p>
<p><img src="/interfacetutorial/pic%2057.jpg" height="349" width="893" /></p>
<p>Select the Dodge Tool with a 40px airbrush and lightly brush under the banner.</p>
<p>I also cleaned up the shape for the content with the Pen Tool.</p>
<p><img src="/interfacetutorial/pic%2058.jpg" height="349" width="893" /></p>
<p>I duplicated the 4 parts as you can see then go to Edit-Transform-Flip vertical and use the Move Tool to move them to the bottom of the template.</p>
<p><img src="/interfacetutorial/pic%2059.jpg" height="768" width="894" /></p>
<p>Select the Rounded Marque Tool and radius around 30px and make a selection for the content box.</p>
<p>Fill it with a dark gray color. My result:</p>
<p><img src="/interfacetutorial/pic%2060.jpg" height="768" width="894" /></p>
<p>Now make sure your selection is still opened, if not go to Select-Load Selection. Then go to Select-Modify-Contract and select 3pixels.</p>
<p>Then go to Image-Adjustments-Levels and make make the content box darker.</p>
<p><img src="/interfacetutorial/pic%2061.jpg" height="768" width="894" /></p>
<p>Now select the Single Row Marque Tool and make a selection like this. You have to select the Black inset layer that we made at the beginning of the tutorial.</p>
<p><img src="/interfacetutorial/pic%2062.jpg" height="222" width="792" /></p>
<p>Now go to Edit-Copy. Make a new layer and go to Edit-Paste. Then go to Edit-Transform-Scale and drag it down this should give you something</p>
<p>like below.</p>
<p><img src="/interfacetutorial/pic%2063.jpg" height="768" width="894" /></p>
<p>Now clean the shape up using the Pen Tool. This is my result:</p>
<p><img src="/interfacetutorial/pic%2064.jpg" height="768" width="894" /></p>
<p>Now do the same on the other side so it doesn&#8217;t touch the content box.</p>
<p>My result:</p>
<p><img src="/interfacetutorial/pic%2065.jpg" height="768" width="894" /></p>
<p>Now duplicate the layer and go to Filter-Pixelate-Fragment. Play around with the layer Blending Modes.</p>
<p><img src="/interfacetutorial/pic%2066.jpg" height="768" width="899" /></p>
<p>Now select the whole part and go to Select-Load Selection. Next go to Select-Modify-Expand and select 3 pixels. Now select the layer that we just roughly</p>
<p>brushed out before (the big gray part) and go to Image-Adjustments-Levels and darken it abit. My result:</p>
<p><img src="/interfacetutorial/pic%2067.jpg" height="768" width="899" /></p>
<p>Then go to Select-Modify-Contrast and select 3px. Now select the Burn Tool and a big airbrush and burn around the edges of</p>
<p>the content box.</p>
<p><img src="/interfacetutorial/pic%2068.jpg" height="768" width="899" /></p>
<p>Now select the big gray layer again. Make sure you dont have any selections opened. Select the Dodge Tool with a 40px airbrush</p>
<p>and dodge around some parts like this:</p>
<p><img src="/interfacetutorial/pic%2069.jpg" height="768" width="899" /></p>
<p>Cleaned up some shadows here and there with the Pen Tool to give it much more flow.</p>
<p><img src="/interfacetutorial/pic%2070.jpg" height="768" width="899" /></p>
<p>Select the Brush Tool and a blue color. With a 10px airbrush just click once to make a glowing dot. Duplicate it and use the Move Tool to position it.</p>
<p><img src="/interfacetutorial/pic%2071.jpg" height="768" width="899" /></p>
<p>Duplicated the bits that we created to make things simetrical.</p>
<p>Now select the Pen Tool and make a shape like this so that it flows with the vent that we created.</p>
<p><img src="/interfacetutorial/pic%2072.jpg" height="768" width="899" /></p>
<p>I used the burn and dodge tool to make a bar that is shown below. Just use a round airbrush and see what you can come up with.</p>
<p><img src="/interfacetutorial/pic%2073.jpg" height="768" width="899" /></p>
<p>Insert some text. I used verdana size 11 on bold.</p>
<p><img src="/interfacetutorial/pic%2074.jpg" height="768" width="899" /></p>
<p>Now we are going to start working on our footer.</p>
<p>Make a shape with the Pen Tool and duplicate it on the other side.</p>
<p>This is the shape i will go with:</p>
<p><img src="/interfacetutorial/pic%2075.jpg" height="768" width="899" /></p>
<p>Make a new layer and select the Burn Tool. now with a hard brush at around 20 opacity and 60 flow try to make something like below.</p>
<p>This will really give it that 3D kick that we are going for.</p>
<p><img src="/interfacetutorial/pic%2076.jpg" height="768" width="899" /></p>
<p>Now select the Dodge Tool with a 2px airbrush. Make a highlight at the edge of the ingraved bit.</p>
<p align="left">My result:</p>
<p><img src="/interfacetutorial/pic%2077.jpg" height="768" width="899" /></p>
<p>Duplicate the part that we have and move it to the other side.</p>
<p><img src="/interfacetutorial/pic%2078.jpg" height="768" width="899" /></p>
<p>Select the brush tool opacity 40% and flow 40% and start developing the shadows and highlights. Don&#8217;t worry about it being clean just yet.</p>
<p><img src="/interfacetutorial/pic%2079.jpg" height="768" width="899" /></p>
<p>Now bring out the Smudge Tool at around 20% strenght. Start smothing the shadows.</p>
<p><img src="/interfacetutorial/pic%2080.jpg" height="768" width="899" /></p>
<p>I decreased the opacity of the layer and cleaned out the unnecesary parts with the Pen Tool.</p>
<p><img src="/interfacetutorial/pic%2081.jpg" height="768" width="899" /></p>
<p>Duplicate the layer and go to Edit-Transform-Flip Horizontal and move it to the other side. This is my result:</p>
<p><img src="/interfacetutorial/pic%2082.jpg" height="768" width="899" /></p>
<p>Make 2 shapes like below. I used Pen Tool and to fade the start of the part in i used Eraser Tool with a 40px airbrush.</p>
<p><img src="/interfacetutorial/pic%2083.jpg" height="768" width="899" /></p>
<p>Continue making shapes to give it an ingraved feel. My result:</p>
<p><img src="/interfacetutorial/pic%2084.jpg" height="768" width="899" /></p>
<p>Make 2 highlights with the Dodge Tool and a 2px airbrush.</p>
<p><img src="/interfacetutorial/pic%2085.jpg" height="768" width="899" /></p>
<p>Started developing the shapes abit more. Just used the Brush Tool at 60% opacity and 40% flow</p>
<p><img src="/interfacetutorial/pic%2086.jpg" height="768" width="899" /></p>
<p>Cleaned up the shape and i used the Dodge Tool to highlight the edges. My image so far:</p>
<p><img src="/interfacetutorial/pic%2087.jpg" height="768" width="899" /></p>
<p>Now make 2 tiny highlights like we made before. Select the Brush Tool and just click. Then duplicate the layer and use the Move Tool to move it to the</p>
<p>other side.</p>
<p><img src="/interfacetutorial/pic%2088.jpg" height="768" width="899" /></p>
<p>Select the Brush Tool and a 20px airbrush. I am gonna make some selections for the footer that we made. You can also play with the</p>
<p>Blending Mode of the layer at this stage, but i didn&#8217;t.</p>
<p><img src="/interfacetutorial/pic%2089.jpg" height="768" width="899" /></p>
<p>Use the Brush Tool and an airbrush to give the template some more eye-candy. This step is basicly optional, but i really like to</p>
<p>give it some extra feeling. You could also make some smoke or lasers or such. Just play around and you can come up with something</p>
<p>really cool.</p>
<p><img src="/interfacetutorial/pic%2090.jpg" height="768" width="899" /></p>
<p>Duplicate the layer and use the Move Tool to position it. Then go to Edit-Transform-Flip Horizontal and move it to the other side of</p>
<p>the template.</p>
<p><img src="/interfacetutorial/pic%2091.jpg" height="768" width="899" /></p>
<p>Insert some text. I putt in &#8220;PS&#8221; becouse the site name is PhotoshopSpot.com. Just give it a blue outer glow and hit ok.</p>
<p>My result:</p>
<p><img src="/interfacetutorial/pic%2092.jpg" height="768" width="899" /></p>
<p>Now select the banner text layer and duplicate it. Go to Filter-Blur-Motion Blur and select around 100. Make sure your angle is horizontal.</p>
<p>Set the layer to overlay or color dodge (it depends on your taste).</p>
<p><img src="/interfacetutorial/pic%2093.jpg" height="768" width="899" /></p>
<p>Putt in some dummy text. I used verdana size 11 on bold. </p>
<p><img src="/interfacetutorial/pic%2094.jpg" height="768" width="899" /></p>
<p>Now make a new layer and select a slightly darker gray. Just fill a part in the content box like i did.</p>
<p><img src="/interfacetutorial/pic%2095.jpg" height="768" width="899" /></p>
<p>Now we are going to make the whole template ingraved in. Select the Brush Tool with a big airbrush and brush around the corners with a darker</p>
<p>color then in the background.</p>
<p align="left">My result:</p>
<p><img src="/interfacetutorial/pic%2096.jpg" height="768" width="899" /></p>
<p>Clean the drop shadow up with the Pen Tool.</p>
<p align="left">My result:</p>
<p><img src="/interfacetutorial/pic%2097.jpg" height="768" width="899" /></p>
<p>I decided it didn&#8217;t look quite right. So i gave the drop shadow all around the template. It looks alot better then before.</p>
<p><img src="/interfacetutorial/pic%2098.jpg" height="768" width="899" /></p>
<p>Duplicate the drop shadow and go to Edit-Transform-Flip Horizontal and use the Move Tool to position it correclty.</p>
<p><img src="/interfacetutorial/pic%2099.jpg" height="768" width="899" /></p>
<p>This is the last 100 step!</p>
<p>Duplicate all of the layer and go to Layer-Merge Layers. Now go to Filter-Scetch-Chrome and play with the settings. It depends on</p>
<p>which color and how much contrast your template has. Set the layer to soft light and use the Eraser Tool to remove the unneded parts.</p>
<p><img src="/interfacetutorial/pic%20100.jpg" height="768" width="899" /></p>
<p>If you have finished the tutorial i have to congratulate you becouse not many people have the patience to follow 100 images.</p>
<p>Hope you learned something.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.webdesigndev.com/photoshop/advanced-interface-website-template-tutorial/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Creating a Professional Business Layout Using Photoshop</title>
		<link>http://www.webdesigndev.com/photoshop/creating-a-professional-business-layout-using-photoshop</link>
		<comments>http://www.webdesigndev.com/photoshop/creating-a-professional-business-layout-using-photoshop#comments</comments>
		<pubDate>Thu, 01 May 2008 13:42:03 +0000</pubDate>
		<dc:creator>Web Design</dc:creator>
				<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Adobe Photoshop]]></category>
		<category><![CDATA[Creating Websites]]></category>
		<category><![CDATA[Photoshop Tutorials]]></category>

		<guid isPermaLink="false">http://www.webdesigndev.com/photoshop/creating-a-professional-business-layout-using-photoshop</guid>
		<description><![CDATA[In this tutorial you will learn how to create a unique business layout using Adobe Photoshop.  Well, for this tutorial we'll be recreating a simple and professional website design, a business-themed website template, to be exact!]]></description>
			<content:encoded><![CDATA[<h2>Designing a Simple but Professional Business Website Design</h2>
<p>Well, for this tutorial we&#8217;ll be recreating a simple and professional website design, a business-themed website template, to be exact!</p>
<h3>1. Document &amp; Background</h3>
<p>Obviously the first thing we&#8217;ll want to do is create a new document in Photoshop! I used a standard document size of 1000 x 900 pixels, but we won&#8217;t be using the entire size of the document. Now we want to make a nice, suitable background for the design.</p>
<p>Start with the background by filling the canvas with a dark-ish grey-blue color (or any color you like). For this I used <strong>#4c535b</strong>. Next, we need to find a simple pattern we can blend into the background. For this you can find some nice patterns over at <a href="http://www.squidfingers.com/patterns/">SquidFingers</a>. Fill a new layer with your chosen pattern then erase away the pattern except for one corner:</p>
<p><img src="/businesslayout/pattern-blended.jpg" alt="Pattern Blended into Background" width="550" height="351" /></p>
<p>Next, lower the opacity for your pattern layer to around <strong>10-20%</strong> and change the layer mode if you want something more unique. For the layer mode I usd <strong>Luminosity</strong>.</p>
<p><img src="/businesslayout/pattern-layer-changes.jpg" alt="Layer Mode and Opacity Changes for Pattern" width="550" height="351" /></p>
<p>That&#8217;s a pretty neat effect right there! That&#8217;s all we&#8217;ll be doing for the background, unless you have a good idea for something more.</p>
<h3>2. Navigation Bar</h3>
<p>For the navigation area, find and get out the <strong>Rounded Rectangle Tool</strong> and set the settings for the tool like I&#8217;ve shown here:</p>
<p><img src="/businesslayout/rounded-rectangle-tool.gif" alt="Rounded Rectangle Tool Settings" width="550" height="35" /></p>
<p>OK, after you&#8217;ve got the settings, draw a rounded rectangle onto the canvas (after you&#8217;ve made a new layer). Now cut the bottom part of your rounded rectangle off, so it has a flat surface on the bottom.</p>
<p><img src="/businesslayout/navigation-shape-made.jpg" alt="Navigation Rounded Rectangle Shape Added" width="550" height="85" /></p>
<p>Please note: it doesn&#8217;t matter what color you used for the navigation bar shape. Next, apply the following layer modes to your newly-made layer:</p>
<ul>
<li><a href="/businesslayout/inner-shadow-1.gif">Inner Shadow</a></li>
<li><a href="/businesslayout/gradient-overlay-1.gif">Gradient Overlay</a></li>
</ul>
<p>And now we have a result like this:</p>
<p><img src="/businesslayout/navigation-layer-styles.gif" alt="Layer Styles Added to Navigation Bar" width="550" height="155" /></p>
<p>I finished off with the navigation bar effects by adding a slight hightlight to the top of the bar (use one pixel) and also a shine kind of thing at the bottom of the bar.</p>
<p><img src="/businesslayout/highlights-added.gif" alt="Highlights Added to Nav Bar" width="550" height="155" /></p>
<p>If you&#8217;re unable to add these, don&#8217;t worry about them, they&#8217;re not important. Lastly for the navigation bar we need to add text! Start by getting the text tool and writing out your navigation buttons using the font you like.</p>
<p><img src="/businesslayout/navigation-text-added.gif" alt="Navigation Text Links Added" width="550" height="155" /></p>
<p>You&#8217;ll want to make plenty of space between each of your links, so that there&#8217;s room for a nice divider. You may also want to apply a <a href="/businesslayout/drop-shadow-1.gif">Drop Shadow</a> to the text to make it stand out a little bit more.</p>
<p>To finish this part of the tutorial off we&#8217;ll add some simple dividers inbetween our links. Start by getting out the Pencil Tool and making a new layer. Using the smallest brush available (1 px) brush a few dots onto the canvas, like I&#8217;ve done here:</p>
<p><img src="/businesslayout/pencil-tool-divider.gif" alt="Pencil Tool used to Make Divider" width="550" height="155" /></p>
<p>Duplicate your divider and move it along so it&#8217;s inbetween the other links. Do this as many times as it takes then merge them all together. To finish off, apply a simple <a href="/businesslayout/drop-shadow-2.gif">Drop Shadow</a> to the now-single dividers layer.</p>
<p><img src="/businesslayout/dividers-complete.gif" alt="Dividers Duplicated" width="550" height="155" /></p>
<h3>3. Base Area</h3>
<p>Now this is a really easy part. All you have to do is create another rounded rectangle shape underneath your navigation layers. What you have to do though is hide the top part of your &#8216;base&#8217; shape underneath the navigation bar, otherwise delete the top part. Like this:</p>
<p><img src="/businesslayout/base-shape.jpg" alt="Base Shape Made" width="550" height="495" /></p>
<p>Very easy! Finish off by adding your copyright notice underneath.</p>
<p><img src="/businesslayout/copyright-notice.gif" alt="Copyright Notice Text" width="550" height="80" /></p>
<p>The perfect font for this is &#8216;Arial&#8217; and it comes with Windows. Use a size of 11 pt, all caps.</p>
<h3>4. Header / Banner</h3>
<p>Find a nice stock photo from a website such as <a href="http://www.istockphoto.com/">iStockPhoto</a> for the banner image.</p>
<p>Copy your stock photo onto the canvas and crop it to the width of your &#8216;base&#8217; layer. After you&#8217;ve resized it and cropped it (something around 130 pixels in height will do) you might want to make some adjustments to the picture, possibly to make it stand out better.</p>
<div id="in_post_ad_middle_1" style="margin: 5px;padding: 0px;"><a href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&experiment_id=af_webdesigndev.com1middlepostnewLP" target="_blank" rel="nofollow">
<img src="http://www.webdesigndev.com/expressions_website3.gif" width="300" height="250" alt="create a free website" /></a></div><p><img src="/businesslayout/banner-stock-photo.jpg" alt="Banner Stock Photo Added" width="550" height="105" /></p>
<p>To finish off with the header, add some text/a logo that you may want to come up with! I just used some basic text for the business name and slogan beneath it:</p>
<p><img src="/businesslayout/text-slogan-added.jpg" alt="Text and Slogan Added" width="550" height="60" /></p>
<p>To make your text stand out better on a photo better you may want to add an outer glow using a dark color from the background. The two fonts that you can see in the above image are <strong>NeoSans</strong>, and <strong>Myriad Pro</strong>.</p>
<h3>5. Content Area</h3>
<p>Alright, we need to add some text and maybe some interesting images inside of the content area, this is to explain &#8216;what we do&#8217; and some other stuff. Start by making a heading with the text tool.</p>
<p><img src="/businesslayout/text-heading.gif" alt="Text Heading Added" width="550" height="60" /></p>
<p>Alright, add some <a href="http://www.lipsum.com/">dummy text</a> below the heading, then a stock photo if you think it will look good!</p>
<p><img src="/businesslayout/headings-and-stock.jpg" alt="Headings, Dummy Text and Stock Added" width="550" height="400" /></p>
<p>Obviously, since this is just a dummy text, I&#8217;ve added in some random text *cough*</p>
<h3>6. Client Login</h3>
<p>Every web host website should have a client login area, if not a link that leads to the client login area. Start by getting the Rounded Rectangle Tool out and make a shape onto your canvas, around <strong>220 x 105 pixels</strong> is a good size.</p>
<p><img src="/businesslayout/client-area-shape.jpg" alt="Client Area Rounded Shape" width="550" height="150" /></p>
<p>The color isn&#8217;t particularly important, but use a dark grey for it. Change the fill for this layer to <strong>10%</strong>, then apply the following layer styles:</p>
<ul>
<li><a href="/businesslayout/gradient-overlay-2.gif">Gradient Overlay</a></li>
<li><a href="/businesslayout/stroke-1.gif">Stroke</a></li>
</ul>
<p><img src="/businesslayout/layer-styles-applied.jpg" alt="Layer Style and Mode Changes" width="550" height="150" /></p>
<p>Add the necesary text and all that, including some boxes that you&#8217;re meant to put the text in, and this is what I&#8217;ve got:</p>
<p><img src="/businesslayout/text-added.jpg" alt="Text and Stuff Added" width="550" height="150" /></p>
<p>Obviously it would take me a while to explain every detail about adding all of that stuff, so please download the PSD at the end of the tutorial and you can see all of the layers!</p>
<h3>7. Special Deal Button</h3>
<p>Just for a nice touch we&#8217;ll add in a button to the sidebar that will state what sort of hosting deals are going on. Start by making another rounded rectangle, or duplicate the one you used previously.</p>
<p><img src="/businesslayout/deal-shape.jpg" alt="Deal Shape Created" width="550" height="100" /></p>
<p>As you might observe, the shape also has a dark gradient inside of it, the colors used were #3f3f3f and #292929. Now add in some text for your banner.</p>
<p><img src="/businesslayout/deal-text-added.jpg" alt="Myriad Pro Text Added" width="550" height="100" /></p>
<p>As you can see, the font used in the above image is Myriad Pro, various weights &amp; sizes. Mess around with some different fonts and sizes and you&#8217;ll get something nice.</p>
<p>I thought it was still a little boring, so I added in a few extras:</p>
<ol>
<li>Add in a dark star shape, lower the opacity to blend it into the main shape</li>
<li>Add a nice highlight to the top of the rectangle shape</li>
<li>Finish off by adding another dark gradient to the bottom of the shape</li>
</ol>
<p><img src="/businesslayout/deal-button-complete.jpg" alt="Deal Button Finished" width="550" height="100" /></p>
<h3>8. Testimonials</h3>
<p>What site would be complete without testimonials? <img src='http://www.webdesigndev.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Let&#8217;s start by making another rounded rectangle in the sidebar area, use the color #c3c3c3 for making this shape.</p>
<p>After you&#8217;ve made the shape, copy the layer style from the client login box and paste it onto your new box.</p>
<p><img src="/businesslayout/testimonial-box.jpg" alt="Box Created" width="550" height="100" /></p>
<p><img src="/businesslayout/layer-styles-pasted.jpg" alt="Layer Styles Pasted" width="550" height="100" /></p>
<p>Now, using Arial as your primary font, add in some random filler text, and a name underneath, like so:</p>
<p><img src="/businesslayout/testimonial-filler.jpg" alt="Testimonial Filler Text" width="550" height="100" /></p>
<p>Now duplicate all of your testimonial layers and move them down a little bit so you have two.</p>
<h3>Complete</h3>
<p>Well, we&#8217;re done for this tutorial! I hope you enjoyed it, if you have any questions please feel free to leave a comment below, but be sure you&#8217;ve checked out the <a href="/psdfile.rar">PSD file</a> before you ask a question!</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.webdesigndev.com/photoshop/creating-a-professional-business-layout-using-photoshop/feed</wfw:commentRss>
		<slash:comments>37</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: basic
Object Caching 572/618 objects using disk: basic

Served from: www.webdesigndev.com @ 2012-02-12 17:11:37 -->
