<?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; Flash Tutorials</title>
	<atom:link href="http://www.webdesigndev.com/category/flash/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>How to use checkboxes and radio buttons in Flash</title>
		<link>http://www.webdesigndev.com/flash/how-to-use-checkboxes-and-radio-buttons-in-flash</link>
		<comments>http://www.webdesigndev.com/flash/how-to-use-checkboxes-and-radio-buttons-in-flash#comments</comments>
		<pubDate>Fri, 03 Feb 2012 14:40:33 +0000</pubDate>
		<dc:creator>Iggy</dc:creator>
				<category><![CDATA[Flash Tutorials]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.webdesigndev.com/?p=9077</guid>
		<description><![CDATA[When you are developing rich and interactive applications in flash, you need to provide the best communication between the user and the application. Flash has some very easy to implement UI components that you can use with your applications. These components will save you from the hassle of designing and programming the User Interface. In [...]]]></description>
			<content:encoded><![CDATA[<p>When you are developing rich and interactive applications in flash, you need to provide the best communication between the user and the application. Flash has some very easy to implement UI components that you can use with your applications. These components will save you from the hassle of designing and programming the User Interface. In this tutorial I am going to show you how to implement the radio button and the checkbox component in your applications. It is important that you know a little bit of ActionScript 3.0 before you begin this tutorial.</p>
<p>Start by creating a new ActionScript 3.0 document in Flash. You can find the UI components in the components window. Press ctrl+F7 to open the components window and drag some radio buttons and checkboxes to stage.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/12.png"><img class="alignnone size-full wp-image-9078" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/12.png" alt="" width="333" height="380" /></a></p>
<p>I have dragged 3 of each to stage.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/22.png"><img class="alignnone size-full wp-image-9079" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/22.png" alt="" width="663" height="317" /></a></p>
<p>At this point these are pretty generic components but you can see that they are visually perfect, the only visual details that need to be changed are the text. If you press ctrl+ENTER to test the movie at this time you can click on these and see that they really work.</p>
<p>Now lets change some of the settings of these components. Select any of the components and head over to the “Component Parameters” section in the properties window. You can see some properties listed here. The properties are pretty much self-explanatory but I will explain them just in case. Lets go to the radio button’s property first.</p>
<p>The first thing here is the &#8220;enabled&#8221; checkbox. This would enable or disable the radio button to be selected. Group name sets the group that the radio button belongs to. A user can select one option from one set of radio buttons. The selected option specifies whether the button is initially selected or not. The value field sets a value that the radio button contains. So if a user selects this radio button then we can retrieve its value with ActionScript. At last the visible property selects whether the button is visible to the user or not. This property has some pretty limited applications.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/32.png"><img class="alignnone size-full wp-image-9080" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/32.png" alt="" width="295" height="286" /></a></p>
<p>If you head over to the checkbox component parameters you can see that all the properties are same except the label placement. This property selects the placement of label relative to the checkbox. Also note that there is not group name here. That is because there are no groups in checkboxes and each checkbox is independent.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/321.png"><img class="alignnone size-full wp-image-9084" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/321.png" alt="" width="295" height="379" /></a></p>
<p>I have labeled all the checkboxes and radio buttons with some names of foods. Now we examine the code that we need to process these components. For the code to work with these components, they need to have some variable names. I have given these the names of radio1_mc,radio2_mc,radio3_mc,check1_mc,check2_mc &amp; check3_mc. I have also created a button that would be used to submit these values and I have named it submit_btn.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/42.png"><img class="alignnone size-full wp-image-9081" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/42.png" alt="" width="468" height="405" /></a></p>
<p>Now create a new layer for actionscript and insert the following code in it.</p>
<p>submit_btn.addEventListener(MouseEvent.CLICK,processButtons);</p>
<p>function processButtons(e:MouseEvent){</p>
<p>if(radio1_mc.selected){</p>
<p>trace(&#8220;Radio button 1 is selected&#8221;);</p>
<p>}</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>if(radio2_mc.selected){</p>
<p>trace(&#8220;Radio button 2 is selected&#8221;);</p>
<p>}</p>
<p>if(radio3_mc.selected){</p>
<p>trace(&#8220;Radio button 3 is selected&#8221;);</p>
<p>}</p>
<p>if(check1_mc.selected){</p>
<p>trace(&#8220;Checkbox 1 is selected&#8221;);</p>
<p>}</p>
<p>if(check2_mc.selected){</p>
<p>trace(&#8220;Checkbox 2 is selected&#8221;);</p>
<p>}</p>
<p>if(check3_mc.selected){</p>
<p>trace(&#8220;Checkbox 3 is selected&#8221;);</p>
<p>}</p>
<p>}</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/52.png"><img class="alignnone size-full wp-image-9083" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/52.png" alt="" width="911" height="574" /></a></p>
<p>The code is pretty simple but let me explain it to you. First I add and event listener that handles the clicks on the submit button. In the event handler I check the “selected” property of  all the radio buttons and checkboxes. If that is true then it means the radio button or checkbox  is selected and so I trace on to the output that the radio button/checkbox is selected.</p>
<p>I hope you have learned how to use these UI components. Use these components to make your applications user friendly and save precious development time.</p>
<p>By the way, don&#8217;t forget to check out <a title="Wix" href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&amp;experiment_id=af_webdesigndev.comCheckboxes" rel="nofollow" target="_blank">Wix</a>, an awesome free Flash website builder.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.webdesigndev.com/flash/how-to-use-checkboxes-and-radio-buttons-in-flash/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make a panning website in Flash</title>
		<link>http://www.webdesigndev.com/flash/how-to-make-a-panning-website-in-flash</link>
		<comments>http://www.webdesigndev.com/flash/how-to-make-a-panning-website-in-flash#comments</comments>
		<pubDate>Wed, 18 Jan 2012 22:37:35 +0000</pubDate>
		<dc:creator>Iggy</dc:creator>
				<category><![CDATA[Flash Tutorials]]></category>

		<guid isPermaLink="false">http://www.webdesigndev.com/?p=9132</guid>
		<description><![CDATA[You might have seen a lot of panning websites in Flash. In these sites if you click on a link, the page automatically scrolls to that content. This effect looks great and is better than just plain old webpages. But believe it or not this effect is extremely easy to make. It’s so easy that [...]]]></description>
			<content:encoded><![CDATA[<p>You might have seen a lot of panning websites in Flash. In these sites if you click on a link, the page automatically scrolls to that content. This effect looks great and is better than just plain old webpages. But believe it or not this effect is extremely easy to make. It’s so easy that you can make a simple website in one day. In this tutorial I am going to show you how to make this effect in Flash. Before you begin this tutorial you must know the basics of movieClips, Buttons and ActionScript 3.0.</p>
<p>Before I begin, if you want a very easy way out of this tutorial, check out  <a title="Wix" href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&amp;experiment_id=af_webdesigndev.comPanningTutorial" target="_blank">free website builder from Wix</a>, which lets you create a professional Flash website for free.</p>
<p>Start off by making a new ActionScript 3.0 document in Flash. Press ctrl+J and set the stage size to the size of your choice, I am giving it the size of 1024*600.Now we need to create the buttons. I will make just a simple rectangular button. But you can make a button as complicated as you want.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/0.png"><img class="alignnone size-full wp-image-9133" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/0.png" alt="" width="671" height="382" /></a></p>
<p>You can see in the screenshot below that I have placed three instances of my button on stage and I have put text on all three. I have also given the buttons instance names of home_btn , about_btn and contact_btn so that we can use the buttons in the actionscript.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/13.png"><img class="alignnone size-full wp-image-9134" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/13.png" alt="" width="962" height="541" /></a></p>
<p>Now it’s time to make the content of the webpage. The content of this page would actually be one long stip so that whenever we click on any of the buttons, the strip can be move to left or right to bring that content in the screen window. So I will just make a new movieclip with the content corresponding to the three buttons. Again I will not make anything fancy, just some simple text for each page. Remember that we will make our movieclip of the width 1024&#215;3, since the width of each window is 1024 and there will be three windows. As for the height you can make it according to your will. You can see in the screenshot below that I have placed the movieclip with all the content the stage. I have also divided the buttons and content into layers so that the fla file is more manageable. I have also named the content movieclip as content_mc so that we can use it in the ActionScript 3.0</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/23.png"><img class="alignnone size-full wp-image-9135" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/23.png" alt="" width="995" height="520" /></a></p>
<p>&nbsp;</p>
<p>Now its time for the code part. Create a new layer to put the ActionScript and add the following code in it.</p>
<p>import fl.transitions.Tween;</p>
<p>import fl.transitions.easing.*;</p>
<p>&nbsp;</p>
<p>home_btn.addEventListener(MouseEvent.CLICK,panContent);</p>
<p>about_btn.addEventListener(MouseEvent.CLICK,panContent);</p>
<p>contact_btn.addEventListener(MouseEvent.CLICK,panContent);</p>
<p>&nbsp;</p>
<p>function panContent(evt:MouseEvent){</p>
<p>var buttonName:String = evt.target.name;</p>
<p>switch(buttonName){</p>
<p>case &#8220;home_btn&#8221;:</p>
<p>new Tween(content_mc,&#8221;x&#8221;,Strong.easeOut,content_mc.x,0,1,true);</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>break;</p>
<p>case &#8220;about_btn&#8221;:</p>
<p>new Tween(content_mc,&#8221;x&#8221;,Strong.easeOut,content_mc.x,-1024,1,true);</p>
<p>break;</p>
<p>case &#8220;contact_btn&#8221;:</p>
<p>new Tween(content_mc,&#8221;x&#8221;,Strong.easeOut,content_mc.x,-2048,1,true);</p>
<p>break;</p>
<p>}</p>
<p>}</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/33.png"><img class="alignnone size-full wp-image-9136" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/33.png" alt="" width="1250" height="680" /></a></p>
<p>Let me explain the code to you now. The first two lines import the Tween and Easing classes so we can Tween our movieclip with the help of actionscript. In the next three lines we are adding event listeners for click events on our buttons. Whenever a user clicks on any of the buttons, the panContent function would be dispatched. In the panContent function, the first line is strong the name of the button that called the event in the variable buttonName. The next code block is a switch statement on the buttonName variable. So, for each button the switch would perform a different function. For each case in the switch we are using</p>
<p>new Tween(movie clip name, attribute of movieclip to be tweened, the easing function,starting point, ending point,time, is time in seconds?);</p>
<p>For movie clip name, we always put content_mc because that is the clip we want to tween, for attribute we put “x” because we want to tween x position of content_mc, the easing function Strong.easeOut makes the tween go from fast to slow from start to end of the tween, for starting point of tween we always enter the current position of the movieclip, for ending point we set the negative of the x value for the specific content. E.g. The “About” content starts from x=1024 so we set the tween to go to -1024.If content_mc is placed at -1024 then the 1024 would be just at the start of the screen hence putting About section in view. For the time parameter, I put 1 and for the last parameter I put true which means that the time parameter is in seconds.</p>
<p>Now in order to publish this page in HTML, we have to set the publish settings for HTML. We want our content to be in the center of the screen so we choose the following settings.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/43.png"><img class="alignnone size-full wp-image-9137" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/43.png" alt="" width="434" height="659" /></a></p>
<p>If you publish the flash now and run the html then you might see everything to be fine, but if you have a screen size of width greater than 1024 then you would see extra bits of the content movieclip as in the screenshot below.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/53.png"><img class="alignnone size-full wp-image-9138" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/53.png" alt="" width="1365" height="675" /></a></p>
<p>But the fix for this is really easy, you just need to apply a mask over the entire stage on the content layer.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/61.png"><img class="alignnone size-full wp-image-9139" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/61.png" alt="" width="369" height="510" /></a></p>
<p>Now if you publish and run the html, everything would be perfect. You can use this method to create interesting webpages very fast. You can innovate in this method to your will to make it even more attractive.</p>
<p><a title="Panning website in action" href="http://www.webdesigndev.com/wp-content/uploads/2011/12/PanningWebpage.html" target="_blank">Click here to see the panning web page in action.</a></p>
<p>Found this tutorial way too hard? Check out  <a title="Wix" href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&amp;experiment_id=af_webdesigndev.comPanningTutorial2" target="_blank">free website builder from Wix</a>, which lets you quickly create a professional Flash website for free without doing any coding.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.webdesigndev.com/flash/how-to-make-a-panning-website-in-flash/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Flash Guide Layer Tutorial</title>
		<link>http://www.webdesigndev.com/flash/flash-guide-layer-tutorial</link>
		<comments>http://www.webdesigndev.com/flash/flash-guide-layer-tutorial#comments</comments>
		<pubDate>Tue, 10 Jan 2012 15:24:12 +0000</pubDate>
		<dc:creator>Iggy</dc:creator>
				<category><![CDATA[Flash Tutorials]]></category>

		<guid isPermaLink="false">http://www.webdesigndev.com/?p=9061</guid>
		<description><![CDATA[When it comes to animation, nothing beats Flash. Flash has an arsenal of powerful tools that help to make animations easily. If you have done some animation in flash then you know that frame by frame animation gets a little hectic sometimes. There is tweening ;  but it is only helpful when the change in [...]]]></description>
			<content:encoded><![CDATA[<p>When it comes to animation, nothing beats Flash. Flash has an arsenal of powerful tools that help to make animations easily. If you have done some animation in flash then you know that frame by frame animation gets a little hectic sometimes. There is tweening ;  but it is only helpful when the change in position of a body is in the same direction. If you want your object to follow a specific path which is not in one direction then that’s where guide layers come in. Guide layers are exactly what their name suggests, they guide the object to maintain their path of motion. In this tutorial I am going to show you how to use guide layers. You have to know the basics of animation in Flash before you can take this tutorial, If you want to start on that then please see <a href="http://www.webdesigndev.com/flash/flash-animation-tutorial">my previous tutorial about animation</a>.</p>
<p>Start by creating a new document in flash. First of all we will make the object which we need to move. I am making a simple circle. The object needs to be a movieClip otherwise it would not work with the guide layer.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/11.png"><img class="alignnone size-full wp-image-9062" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/11.png" alt="" width="760" height="554" /></a></p>
<p>Now make a new layer and draw a line on it, this line is the path that the ball will follow. I have drawn a wavy line with a green color. The color is not important here because it would not be visible in the output.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/21.png"><img class="alignnone size-full wp-image-9063" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/21.png" alt="" width="831" height="596" /></a></p>
<p>Now right click on the layer with the path and select the guide option from the context menu. This will transform the layer into a guide layer.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/31.png"><img class="alignnone size-full wp-image-9064" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/31.png" alt="" width="515" height="461" /></a></p>
<p>You will know that it has successfully transformed when you see the icon of the layer change.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/41.png"><img class="alignnone size-full wp-image-9065" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/41.png" alt="" width="281" height="83" /></a></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>But the ball is not bound to the guide yet, to do that drag the ball layer with your mouse and move place it on the lower side of the guide layer. When the ball layer becomes a part of the guide you will see it like the image below.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/51.png"><img class="alignnone size-full wp-image-9066" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/51.png" alt="" width="304" height="76" /></a></p>
<p>To make the ball move with the line, the ball needs to be on the line first, drag the ball on the line such the circle showing the center of the ball is on the line.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/6.png"><img class="alignnone size-full wp-image-9067" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/6.png" alt="" width="183" height="132" /></a></p>
<p>Now press F6 on any other frame in the ball layer to insert a new frame there. Press  F5 on the same frame in the guide layer to extend the guide layer upto that frame. Now in this frame change the position of the ball but you have to make sure that the center of the ball is still touching the line.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/7.png"><img class="alignnone size-full wp-image-9068" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/7.png" alt="" width="776" height="602" /></a></p>
<p>At last right click on the middle of ball layer and choose classic tween to tween the ball. Press Ctrl+ENTER to test the movie and you will see the ball move along the line of the guide layer.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/8.png"><img class="alignnone size-full wp-image-9069" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/8.png" alt="" width="622" height="549" /></a></p>
<p>You can use this method to dramatically decrease the time of making an animation. I hope this helps you become a better animator.</p>
<p>Found this Flash Guide Layer tutorial too hard? Don&#8217;t worry, you have an easy way out. Check out <a title="Wix" href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&amp;experiment_id=af_webdesigndev.comFlashGuideLayer" rel="nofollow" target="_blank">Wix</a>, an awesome free Flash website builder.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.webdesigndev.com/flash/flash-guide-layer-tutorial/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How To Make Your Flash Design Work With ANY Resolution</title>
		<link>http://www.webdesigndev.com/flash/how-to-make-your-flash-design-work-with-any-resolution</link>
		<comments>http://www.webdesigndev.com/flash/how-to-make-your-flash-design-work-with-any-resolution#comments</comments>
		<pubDate>Thu, 29 Dec 2011 12:49:50 +0000</pubDate>
		<dc:creator>Iggy</dc:creator>
				<category><![CDATA[Flash Tutorials]]></category>

		<guid isPermaLink="false">http://www.webdesigndev.com/?p=9045</guid>
		<description><![CDATA[One of the biggest problems that web designers face is to select a screen resolution for their style. Those days are gone when there were only two resolutions 800&#215;600 and 1024&#215;768. Today there are millions of devices with different screen resolutions which are used to browse the internet.  In this scenario, one of the best [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/icon.jpg"><img class="alignright size-full wp-image-9051" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/icon.jpg" alt="" width="200" height="200" /></a>One of the biggest problems that <a title="web designers" href="http://www.webdesigndev.com/" target="_blank">web designers</a> face is to select a screen resolution for their style. Those days are gone when there were only two resolutions 800&#215;600 and 1024&#215;768. Today there are millions of devices with different screen resolutions which are used to browse the internet.  In this scenario, one of the best practices is to make a design which will fit all resolution. Flash is excellent for this and today I am going to show you how to make flash adjust your design according to the screen. Please keep in mind that you need to know the basics of designing and development in <a title="Flash" href="http://www.webdesigndev.com/flash/learn-how-to-create-a-flash-website" target="_blank">Flash</a> in order to be able to understand this tutorial.</p>
<p>Start by creating a new ActionScript 3.0 document in Flash and keeping it the standard resolution.  Now create a movie clip. You can draw anything in the movieclip. And finally draw a rectangle bordering the stage. We need the rectangle to visualize where our stage is.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/1.png"><img class="alignnone size-full wp-image-9046" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/1.png" alt="" width="965" height="591" /></a></p>
<p>On my stage the box with the text &#8220;www.webdesigndev.com&#8221; is the movie clip and I have named it “text_mc”. You also need to put your movieclip on stage and give it a name.</p>
<p>For my design, I need to movieclip to be touching the right side of the screen. Let’s try to do that using ActionScript. Create a new layer in the timeline and paste the following line of code in it.</p>
<p>text_mc.x  = stage.stageWidth-text_mc.width;</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/2.png"><img class="alignnone size-full wp-image-9047" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/2.png" alt="" width="799" height="551" /></a></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>In this line of code, stage.stageWidth give us the with of our stage and text_mc.width gives me the width of the movieclip text_mc. Subtracting the second from the first I can make the movie clip touch the right end of the stage. So, I set the x position of the movieclip to this value. Now press Ctrl+SHIFT+F12 and publish the application in html and flash. I get the html page looking like <a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/re1.html" target="_blank">THIS</a>.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/3.png"><img class="alignnone size-full wp-image-9048" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/3.png" alt="" width="1365" height="670" /></a></p>
<p>Now this is not what we wanted. We wanted the movieclip to touch the right end of the screen. The movieclip is touching the right end of the red rectangle. This is because it is programmed to touch the right end of stage and right now our stage is the red rectangle. We need a way to make our whole screen the stage. That way our movieclip will touch the right end of the screen. In order to do this, go back to the publish settings by pressing Ctrl+SHIFT+F12 and go to the HTML tab. Now in the dimensions panel select “Percent” and set the width and height to 100 percent. This will make the flash occupy 100% of the screen available in the browser. Select the scale value as “No Scale” because we don’t want the content of our stage to be resized to fit the screen. Select the Flash alignment as LEFT , TOP because we want the (0,0) coordinate of flash to be on the top left of the screen and not somewhere in the middle so that our coordinate system of flash remains the same.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/4.png"><img class="alignnone size-full wp-image-9049" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/4.png" alt="" width="433" height="663" /></a></p>
<p>Now if we publish this in html and flash we can see our movieclip touch the right end of the screen. <a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/re2.html" target="_blank">CLICK HERE TO SEE THE HTML PAGE.</a></p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/5.png"><img class="alignnone size-full wp-image-9050" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/5.png" alt="" width="1365" height="672" /></a></p>
<p>Using this method you can place the components of your design on places relative to the screen size. If you think wisely while designing then you will be able to make some very practical, flexible and attractive web designs.. If your design fits all screens then the viewers will definitely be happy with it.</p>
<p>Want an easy way out of this tutorial? Use <a title="Wix" href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&amp;experiment_id=af_webdesigndev.com117" rel="nofollow" target="_blank">Wix</a>, an amazing free Flash website builder that will let you create a very professional Flash website in the fraction of the time it takes creating it from scratch.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.webdesigndev.com/flash/how-to-make-your-flash-design-work-with-any-resolution/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>7 Fun Flash Games For Inspiration</title>
		<link>http://www.webdesigndev.com/flash/7-fun-flash-games-for-inspiration</link>
		<comments>http://www.webdesigndev.com/flash/7-fun-flash-games-for-inspiration#comments</comments>
		<pubDate>Fri, 23 Dec 2011 18:41:13 +0000</pubDate>
		<dc:creator>Iggy</dc:creator>
				<category><![CDATA[Flash Tutorials]]></category>
		<category><![CDATA[Inspiration]]></category>

		<guid isPermaLink="false">http://www.webdesigndev.com/?p=9120</guid>
		<description><![CDATA[One of the best areas of flash is the online games. Their popularity lies in the fact that you can go online any time and start playing a game. There is a huge variety of flash games out there. I have chosen 7 flash games that stand out from the crowd. If you are a [...]]]></description>
			<content:encoded><![CDATA[<p><span class="Apple-style-span" style="font-size: 13px; font-weight: normal;">One of the best areas of flash is the online games. Their popularity lies in the fact that you can go online any time and start playing a game. There is a huge variety of flash games out there. I have chosen 7 flash games that stand out from the crowd. If you are a flash developer then these games are a great source of inspiration.</span></p>
<h2>7-Moby Dick 2</h2>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/mobydick.png"><img class="alignnone size-full wp-image-9125" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/mobydick.png" alt="" width="637" height="523" /></a></p>
<p>In this game you get to be a great white whale killing humans to protect yourself. The controls of the game are really interesting here. You use your mouse to set the direction of the whale while the whale keeps on moving at all times. You have to use the momentum of the whale to attack boats. One of the many good things in this game is the upgrades. You can earn upgrade points which you can use to improve you whale’s size, speed and lots of other things.</p>
<p><a href="http://www.newgrounds.com/portal/view/585101">Click here to playMoby Dick 2</a></p>
<h2>6-Fireboy and Watergirl – The Light Temple</h2>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/firewater.png"><img class="alignnone size-full wp-image-9123" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/firewater.png" alt="" width="647" height="492" /></a></p>
<p>This game has a really unique gameplay. It’s a puzzle game in which you get to control 2 characters; fireboy and watergirl. You have to use your brain and control both the characters at the same time to solve the puzzle.</p>
<p><a href="http://www.miniclip.com/games/light-temple/en/">Click here to play Fireboy and Watergirl – The Light Temple</a></p>
<h2>5-The Fancy Pants adventure world 2</h2>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/fancypants.png"><img class="alignnone size-full wp-image-9122" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/fancypants.png" alt="" width="723" height="484" /></a></p>
<p>The reason of this game being in this list is its ease of play and fun. This is the kind of game that people look for in flash games. The graphics and gameplay is amazing. There are a lot of levels so you wouldn’t get bored with this game soon.</p>
<p><a href="http://armorgames.com/play/553/the-fancy-pants-adventure-world-2">Click here to play The Fancy Pants adventure world 2</a></p>
<h2>4-Shift</h2>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/SHIFT.png"><img class="alignnone size-full wp-image-9128" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/SHIFT.png" alt="" width="498" height="500" /></a></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>Among all the puzzle games that I have ever played, this game is the most unique and most addictive. When you start to play this game, it&#8217;s just an ordinary jump and run game but when the shift comes in, it’s a whole new world. Whenever you press the &lt;Shift&gt; key in this game, the stage would change states. You have to solve the puzzle while thinking about both the states of the game. This game is a great exercise for brain.</p>
<p><a href="http://armorgames.com/play/751/shift">Click here to play Shift</a></p>
<h2>3-Liquid measure 2</h2>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/liquidmeasure.png"><img class="alignnone size-full wp-image-9124" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/liquidmeasure.png" alt="" width="597" height="656" /></a></p>
<p>There are a lot of games out there that look alike this game. But this game tops all of them because of the graphics, the gameplay and by introducing new things in every new level. In this game you have to put the pipes together to form a path for the water to its destination. The game starts out easy but after a few levels it gets really interesting and difficult. It’s the ability of this game to keep the user immersed that has earned this game the 3<sup>rd</sup> spot.</p>
<p><a href="http://armorgames.com/play/7295/liquid-measure-2">Click here to play Liquid Measure 2</a></p>
<h2>2-Shell shock live</h2>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/shellshock.png"><img class="alignnone size-full wp-image-9127" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/shellshock.png" alt="" width="801" height="603" /></a></p>
<p>The capabilities of flash have always been underestimated. But this is a game that really leverages the power of Flash. The game offers a unique multiplayer experience in flash. This is a turn based game in which all players have to target the other team in their turn. There is a huge variety of weapons in this game and all of them are really interesting. The in-game chat is also very interesting. Messages from a user are always shown as a bubble on their tank. This is a new concept and it is really interesting.</p>
<p><a href="http://armorgames.com/play/11433/shell-shock-live">Click here to play Shell Shock Live</a></p>
<h2>1-Raze</h2>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/12/rage.png"><img class="alignnone size-full wp-image-9126" src="http://www.webdesigndev.com/wp-content/uploads/2011/12/rage.png" alt="" width="701" height="601" /></a></p>
<p>If we can choose one factor for determining a good game then that factor wouldn’t be graphics or gameplay or its multiplayer capabilities. The only factor that matters is how much fun you have playing the game. And Raze is a game which scores a 10/10 on that factor. Raze is an action game in which the main theme is to shoot and kill. There are 2 campaign modes and  a lot of single play modes. The graphics of the game are impressive. The huge variety of weapons is amazing. If you are making a game then make sure that Fun is on the top of your list.</p>
<p><a href="http://armorgames.com/play/5395/raze">Click here to play Raze</a></p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.webdesigndev.com/flash/7-fun-flash-games-for-inspiration/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Make a Shiny Button in Flash</title>
		<link>http://www.webdesigndev.com/flash/how-to-make-a-shiny-button-in-flash</link>
		<comments>http://www.webdesigndev.com/flash/how-to-make-a-shiny-button-in-flash#comments</comments>
		<pubDate>Fri, 02 Dec 2011 19:52:04 +0000</pubDate>
		<dc:creator>Iggy</dc:creator>
				<category><![CDATA[Flash Tutorials]]></category>

		<guid isPermaLink="false">http://www.webdesigndev.com/?p=8964</guid>
		<description><![CDATA[In my previous Flash button tutorial I showed you how to create buttons in flash and how to make them react to different mouse events. In this tutorial I will show you how to create a beautiful shining button. If you haven’t read the last tutorial and you don’t know the basics of making buttons [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/icon4.png"><img class="alignright size-full wp-image-8974" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/icon4.png" alt="" width="335" height="125" /></a>In my previous <a href="http://www.webdesigndev.com/flash/flash-button-tutorial" target="_blank">Flash button tutorial</a> I showed you how to create buttons in flash and how to make them react to different mouse events. In this tutorial I will show you how to create a beautiful shining button. If you haven’t read the last tutorial and you don’t know the basics of making buttons then I recommend that you read that tutorial first.</p>
<p>Let’s start by creating a new Flash Document and creating a new button symbol. I will create a rectangular button with a little shine on the top. I also want my button to have rounded edges so I choose the rectangle primitive tool from the tools menu.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/17.png"><img class="alignnone size-full wp-image-8965" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/17.png" alt="" width="250" height="152" /></a></p>
<p>I create a rectangle of 200&#215;70 size and from the properties panel I set all the edges to 5px roundness. I select the rectangle and press ctrl+B to break it into a drawing object so that I may edit it.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/27.png"><img class="alignnone size-full wp-image-8966" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/27.png" alt="" width="287" height="512" /></a></p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/37.png"><img class="alignnone size-full wp-image-8967" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/37.png" alt="" width="479" height="212" /></a></p>
<p>Now comes the trick bit. I create a new line on above the rectangle and I bend it with the cursor tool so that it comes over the rectangle.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/47.png"><img class="alignnone size-full wp-image-8968" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/47.png" alt="" width="694" height="261" /></a></p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/57.png"><img class="alignnone size-full wp-image-8969" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/57.png" alt="" width="589" height="250" /></a></p>
<p>We have done this step because we want to divide the rectangle fill into two parts so that we may fill each part with a different color.</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><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/67.png"><img class="alignnone size-full wp-image-8970" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/67.png" alt="" width="589" height="250" /></a></p>
<p>Now I fill the fill 2 with a solid red color.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/75.png"><img class="alignnone size-full wp-image-8971" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/75.png" alt="" width="657" height="266" /></a></p>
<p>&nbsp;</p>
<p>For fill 1, I fill in a linear color with two shades of red. The I press F to select the gradient transform tool and rotate the linear color so that the lighter shade is at the bottom. This will give our rectangle the shining effect.<a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/84.png"><img class="alignnone size-full wp-image-8972" style="border-style: initial; border-color: initial;" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/84.png" alt="" width="621" height="238" /></a></p>
<p>At this point we can remove the lines that we used to divide the fill.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/93.png"><img class="alignnone size-full wp-image-8973" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/93.png" alt="" width="465" height="199" /></a></p>
<p>Now for the Over and the Down states of the button you can just use the gradient transform tool to move the gradient up and down and give it an effect of the shine moving.</p>
<p>You can see the finished button <a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/shiny.html" target="_blank">here</a>.</p>
<p>You can use the same technique to create other sorts of shines like shine on a circular orb and shine on a rectangle across the diagonal. Just stay creative and you will do good.</p>
<p>Want an easy way out of this tutorial? Use <a title="Wix" href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&amp;experiment_id=af_webdesigndev.com116" rel="nofollow" target="_blank">Wix</a>, an amazing free Flash website builder that will let you create a very professional Flash website in the fraction of the time it takes creating it from scratch.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.webdesigndev.com/flash/how-to-make-a-shiny-button-in-flash/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Create a Custom Cursor in Flash</title>
		<link>http://www.webdesigndev.com/flash/how-to-create-a-custom-cursor-in-flash</link>
		<comments>http://www.webdesigndev.com/flash/how-to-create-a-custom-cursor-in-flash#comments</comments>
		<pubDate>Thu, 01 Dec 2011 23:16:56 +0000</pubDate>
		<dc:creator>Iggy</dc:creator>
				<category><![CDATA[Flash Tutorials]]></category>

		<guid isPermaLink="false">http://www.webdesigndev.com/?p=9004</guid>
		<description><![CDATA[Flash is a great tool creating beautiful looking interactive applications. But a lot of times the default cursor will not go with the theme of your application. Fortunately it is very easy to create your own cursor in Flash. In this Flash tutorial I will show you how to replace the default cursor with your [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/icon5.png"><img class="alignright size-full wp-image-9014" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/icon5.png" alt="" width="186" height="122" /></a>Flash is a great tool creating beautiful looking interactive applications. But a lot of times the default cursor will not go with the theme of your application. Fortunately it is very easy to create your own cursor in Flash. In this <a title="Flash tutorial" href="http://www.webdesigndev.com/flash/learn-how-to-create-a-flash-website">Flash tutorial</a> I will show you how to replace the default cursor with your customized cursor. You need to know the basics of <a title="how to make a flash website" href="http://www.webdesigndev.com/flash/learn-how-to-create-a-flash-website">how to make a Flash website</a> and little know-how of ActionScript 3.0 before you can understand this tutorial.</p>
<p>It is good if you follow along with me in this tutorial. Let’s start by creating a new ActionScript 3.0 document in Flash. Press Ctrl+F8 to create a new MovieClip symbol. We will design our new cursor in this MovieClip.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/18.png"><img class="alignnone size-full wp-image-9006" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/18.png" alt="" width="444" height="177" /></a></p>
<p>I have drawn a little red cursor with a circle on its back but you can draw anything you want, you can even make an animation in this MoveClip if you want an animated cursor. But right now I will stick to a static cursor because animated ones become a little too over in most cases.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/28.png"><img class="alignnone size-full wp-image-9007" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/28.png" alt="" width="311" height="278" /></a></p>
<p>One thing that you need to make sure is that you have to keep the registration point of the movie clip at the position where you would want your cursor to register the clicks. Naturally I want my cursor to register clicks on the tip so I have kept the registration point at the tip of the cursor.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/38.png"><img class="alignnone size-full wp-image-9008" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/38.png" alt="" width="529" height="310" /></a></p>
<p>Now that we have made the graphics part of the cursor lets go back to the main timeline and drag our new cursor to the stage. Also we would give a name to our cursor so that we can manipulate it in the ActionScript code. I have named my cursor MovieClip as cursor_mc.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/48.png"><img class="alignnone size-full wp-image-9009" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/48.png" alt="" width="953" height="445" /></a></p>
<p>Now create a new layer to contain the ActionScript code.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/58.png"><img class="alignnone size-full wp-image-9010" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/58.png" alt="" width="449" height="185" /></a></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>On the ActionScript layer, press F9 to open the Actions window and paste the following code there.</p>
<p>Mouse.hide();</p>
<p>stage.addEventListener(MouseEvent.MOUSE_MOVE,follow);</p>
<p>function follow(E:MouseEvent){</p>
<p>cursor_mc.x = mouseX;</p>
<p>cursor_mc.y = mouseY;</p>
<p>}</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/68.png"><img class="alignnone size-full wp-image-9011" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/68.png" alt="" width="952" height="500" /></a></p>
<p>This is the code that replaces our current cursor with the new cursor. It’s a very short and simple code. The first line here calls the Mouse.hide() function which hides the default cursor. After the default cursor has been hidden, we need to move in the new cursor. To do that we add an event listener to the stage that detects whenever a user moves their mouse and then calls the follow function which will make the new cursor follow the movement of the mouse. In the follow function we simply set the coordinates of the new cursor (which is cursor_mc) equal to the coordinates of the mouse.</p>
<p>And that’s it,  you can press ctrl+ENTER to test the application.<br />
<a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/Cursor.html"> Click Here</a> to see the cursor in action.</p>
<p>You can use this method to create a variety of cursors. Just make sure that you keep the basic functionality of cursor in mind when modifying it.</p>
<p>Want an easy way out of this tutorial? Use <a title="Wix" href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&amp;experiment_id=af_webdesigndev.com115" rel="nofollow" target="_blank">Wix</a>, an amazing free Flash website builder that will let you create a very professional Flash website in the fraction of the time it takes creating it from scratch.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.webdesigndev.com/flash/how-to-create-a-custom-cursor-in-flash/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Making a GREAT Looking Flash Preloader</title>
		<link>http://www.webdesigndev.com/flash/making-a-great-looking-flash-preloader</link>
		<comments>http://www.webdesigndev.com/flash/making-a-great-looking-flash-preloader#comments</comments>
		<pubDate>Tue, 29 Nov 2011 16:03:51 +0000</pubDate>
		<dc:creator>Iggy</dc:creator>
				<category><![CDATA[Flash Tutorials]]></category>

		<guid isPermaLink="false">http://www.webdesigndev.com/?p=8931</guid>
		<description><![CDATA[In my previous Flash preloader tutorial  I showed you how to develop preloaders for you applications and I explained its code to you. In this tutorial I will focus on the design part of the preloaders. I will show you how to make a good looking circular preloader so that you may understand how to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/icon3.png"><img class="alignright size-full wp-image-8938" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/icon3.png" alt="" width="122" height="124" /></a>In my previous <a href="http://www.webdesigndev.com/flash/flash-preloader-tutorial">Flash preloader tutorial</a>  I showed you how to develop preloaders for you applications and I explained its code to you. In this tutorial I will focus on the design part of the preloaders. I will show you how to make a good looking circular preloader so that you may understand how to put the code of the previous tutorial in the skin of a good looking preloader.</p>
<p>Lets start by creating a new Flash ActionScript 3.0 application. Create a new movieclip by pressing ctrl+F8. We will make the animation of the preloader in this movieclip.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/16.png"><img class="alignnone size-full wp-image-8932" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/16.png" alt="" width="445" height="174" /></a></p>
<p>The idea I have in mind to create an arc and turn it into a circle as the loading progresses.  To do that, I use the oval primitive tool. You can select it from the toolbar.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/26.png"><img class="alignnone size-full wp-image-8933" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/26.png" alt="" width="254" height="167" /></a></p>
<p>Draw an oval and set its inner radius from the properties menu to some value other than 0 so that a hole is created in the center of the oval.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/36.png"><img class="alignnone size-full wp-image-8934" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/36.png" alt="" width="286" height="153" /></a></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>Now to give the animation effect, I make 36 frames on the timeline and on each frame I increment the “End angle” by 10. So from frame 0 to frame 36, the arc turns into circle.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/46.png"><img class="alignnone size-full wp-image-8935" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/46.png" alt="" width="480" height="450" /></a></p>
<p>The animation looks pretty good now but I want to make it better. So I copy the circle to the layer below it, resize it and change its color. The new configuration looks a bit like this.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/56.png"><img class="alignnone size-full wp-image-8936" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/56.png" alt="" width="628" height="471" /></a></p>
<p>The animation looks quite good now. Now you just need to follow the steps of the <a href="http://www.webdesigndev.com/flash/flash-preloader-tutorial">Flash preloader tutorial</a> to add the actionscript code to this and the preloader is ready. If you are looking for something more basic, you can read my tutorial on <a title="how to create a flash website" href="http://www.webdesigndev.com/flash/learn-how-to-create-a-flash-website">how to create a flash website</a>.</p>
<p>You can see the finished version of the preloader <a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/loader.html">here</a>.</p>
<p>This is just an example of how you can get creative with preloaders.  You can come up with your own variation of the preloader on this basic skeleton.</p>
<p>Want an easy way out of this tutorial? Use <a title="Wix" href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&amp;experiment_id=af_webdesigndev.com114" rel="nofollow" target="_blank">Wix</a>, an amazing free Flash website builder that will let you create a very professional Flash website in the fraction of the time it takes creating it from scratch.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.webdesigndev.com/flash/making-a-great-looking-flash-preloader/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 Interactive Flash Websites That Scream &#8220;Play With Me&#8221;</title>
		<link>http://www.webdesigndev.com/flash/10-interactive-flash-websites</link>
		<comments>http://www.webdesigndev.com/flash/10-interactive-flash-websites#comments</comments>
		<pubDate>Mon, 21 Nov 2011 20:02:11 +0000</pubDate>
		<dc:creator>Iggy</dc:creator>
				<category><![CDATA[Flash Tutorials]]></category>

		<guid isPermaLink="false">http://www.webdesigndev.com/?p=8906</guid>
		<description><![CDATA[We have a list of 10 highly interactive websites made in flash. These websites not only present the content to user but they engage and occupy the user. 1 : www.the-planet-zero.com The planet zero is a project by Nissan. This website has been created to raise awareness for alternative energy. The website is highly interactive and [...]]]></description>
			<content:encoded><![CDATA[<p>We have a list of 10 highly interactive websites made in flash. These websites not only present the content to user but they engage and occupy the user.</p>
<h1>1 : <a href="http://the-planet-zero.com/">www.the-planet-zero.com</a></h1>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/15.png"><img class="alignnone size-full wp-image-8908" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/15.png" alt="" width="1365" height="664" /></a></p>
<p>The planet zero is a project by Nissan. This website has been created to raise awareness for alternative energy. The website is highly interactive and the user is sure to get immersed in the website.</p>
<h1>2 : <a href="http://www.intel.com/museumofme/r/index.htm">www.intel.com/museumofme</a></h1>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/25.png"><img class="alignnone size-full wp-image-8909" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/25.png" alt="" width="961" height="414" /></a></p>
<p>Intel’s museum of makes you realize how much information about you is there on Facebook. The website takes all of your data from Facebook and puts it in an interactive museum. You are definitely going to enjoy this trip.</p>
<h1>3 : <a href="http://www.5gum.co.za/">www.5gum.co.za</a></h1>
<p>&nbsp;</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/35.png"><img class="alignnone size-full wp-image-8910" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/35.png" alt="" width="1365" height="665" /></a></p>
<p>A highly interactive website by Wrigley’s Gum, this website was made to promote 5 gum. The dark colors and flashing lights offer a very immersive experience.</p>
<h1>4 : <a href="http://www.sdzsafaripark.org/game">www.sdzsafaripark.org/game</a></h1>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/45.png"><img class="alignnone size-full wp-image-8911" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/45.png" alt="" width="1337" height="575" /></a></p>
<p>A flash game made for the San Diego Zoo- Safari Park. The game has nice graphics and animation.</p>
<h1>5 : <a href="http://www.htcsense.dk/">www.htcsense.dk</a></h1>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/55.png"><img class="alignnone size-full wp-image-8912" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/55.png" alt="" width="1348" height="663" /></a></p>
<p>A beautiful website for HTC. The best thing about this website is the amazing transitions and 3d effects.</p>
<h1>6 : <a href="http://www.millaswelt.de/">www.millaswelt.de</a></h1>
<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><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/65.png"><img class="alignnone size-full wp-image-8913" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/65.png" alt="" width="1347" height="667" /></a></p>
<p>This website has a very beautiful interactive flipbook animation. The graphics and the animation are absolutely outstanding.</p>
<h1>7 : <a href="http://www.idadeinterior.com.br/en_US">www.idadeinterior.com.br/en_US</a></h1>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/74.png"><img class="alignnone size-full wp-image-8914" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/74.png" alt="" width="1342" height="665" /></a></p>
<p>An adorable baby asks you a couple of questions and tells you your real age. A very nice theme along with nice graphics.</p>
<h1>8 : <a href="http://follownoone.com.au/">follownoone.com.au</a></h1>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/83.png"><img class="alignnone size-full wp-image-8915" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/83.png" alt="" width="1365" height="617" /></a></p>
<p>An absolutely brilliant concept for the promotion of Volkswagen Polo. You can literally drive around the website in a polo. I’m sure you will enjoy the ride.</p>
<h1>9 : <a href="http://www.erkyperky.com.au/">www.erkyperky.com.au</a></h1>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/92.png"><img class="alignnone size-full wp-image-8916" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/92.png" alt="" width="1360" height="661" /></a></p>
<p>Erky and Perky are on the hunt to find crumbs. This website features excellent character animation and very good graphics.</p>
<h1>10 : <a href="http://www.climbmountasgard.com/">www.climbmountasgard.com</a></h1>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/101.png"><img class="alignnone size-full wp-image-8917" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/101.png" alt="" width="1047" height="608" /></a></p>
<p>Play this addictive and adventure filled game in which you have to climb mount asgard. The special thing about this game is its graphics which look very realistic.</p>
<p>Do you want an interactive Flash site like the ones you see above? Use <a title="Wix" href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&amp;experiment_id=af_webdesigndev.com114" rel="nofollow" target="_blank">Wix</a>, an amazing free Flash website builder that will let you create a very professional Flash website in the fraction of the time it takes creating it from scratch.</p>
<p>About the author: with over ten years in the freelance web design and writing fields, Scott Stanton has had his finger on the beating pulse of the industry&#8217;s hottest design trends and bends for the past decade. Scott regularly writes for Wix.com the <a title="free website builder" href="http://wix.com/?utm_campaign=se_gb_webdesigndev.com&amp;experiment_id=FWB" target="_blank">free website builder</a>.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.webdesigndev.com/flash/10-interactive-flash-websites/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Flash Debugger Tutorial &#8211; How to Debug Adobe Flash</title>
		<link>http://www.webdesigndev.com/flash/flash-debugger-tutorial-how-to-debug-adobe-flash</link>
		<comments>http://www.webdesigndev.com/flash/flash-debugger-tutorial-how-to-debug-adobe-flash#comments</comments>
		<pubDate>Thu, 17 Nov 2011 19:02:57 +0000</pubDate>
		<dc:creator>Iggy</dc:creator>
				<category><![CDATA[Flash Tutorials]]></category>

		<guid isPermaLink="false">http://www.webdesigndev.com/?p=8872</guid>
		<description><![CDATA[When you start programming in ActionScript 3.0, in the beginning you are very likely to get stuck in programming mistakes. You have to have a lot of practice to write bug free ActionScript 3.0 .Even when you are a professional developer you are still prone to getting stuck while coding. Flash has a very reliable [...]]]></description>
			<content:encoded><![CDATA[<p>When you start programming in ActionScript 3.0, in the beginning you are very likely to get stuck in programming mistakes. You have to have a lot of practice to write bug free ActionScript 3.0 .Even when you are a professional developer you are still prone to getting stuck while coding. Flash has a very reliable debugger built into it which comes in handy a lot of times. In this tutorial I am going to show you how to use the Flash debugger to debug your code.</p>
<p>This is an advanced Flash tutorial. If you don&#8217;t yet know how to create a <a title="free flash website" href="http://www.webdesigndev.com/flash/learn-how-to-create-a-flash-website">free Flash website</a>, you should check out my <a title="Flash tutorial" href="http://www.webdesigndev.com/flash/learn-how-to-create-a-flash-website">Flash tutorial</a> before reading this tutorial.</p>
<p>First of all let&#8217;s write some lines of code to be used by the debugger.</p>
<p><em>var s:Number;</em></p>
<p><em>s = sum(3.5,5);</em></p>
<p><em>trace(s);</em></p>
<p><em>function sum(i:Number , j:Number):Number{</em></p>
<p><em>                var sum:int = i+j;</em></p>
<p><em>                return sum;</em></p>
<p><em>}</em></p>
<p>If you know ActionScript 3.0 then you will easily understand the above code. Its contains a function sum which adds the two numbers it takes as its parameters and returns their sum. The actionscript code is using this function to add 3.5 and 5 and store the returned value in the variable s.  There is also a bug in this code. When I run the program, I should be seeing the value “8.5” in my output window, but I am seeing only “8”.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/14.png"><img class="alignnone size-full wp-image-8873" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/14.png" alt="" width="286" height="180" /></a></p>
<p>You might have noticed the problem in the code but we are going to find the problem out with the help of the Flash debugger now. To run the debugger, the first thing we need to do is to insert break points in our code. You see the flash debugger lets us execute our code one line at a time. But for that it needs an initial breakpoint. A break point is the position where the automatic code execution stops and the manual line-by-line code execution comes into play. To insert a break point in the code, move your cursor to the line where you want to insert the breakpoint and press “CTRl+B”. You will see a red dot along that line indicating a breakpoint. I have inserted a break point in the line where the function is being called.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/24.png"><img class="alignnone size-full wp-image-8874" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/24.png" alt="" width="423" height="283" /></a></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>Now we are ready to start the debugging. Press the keyboard shortcut CTRL+SHIFT+ENTER to start the debugger. Once you press the keys, your whole screen would be changed.<img class="alignnone size-full wp-image-8875" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/34.png" alt="" width="951" height="488" /></p>
<p>In your code you will see a yellow colored arrow which indicated the current position of the execution, in the bottom left column you will see a list of all the variables along with their values. In the top left panel you will see buttons which control the execution of the code.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/44.png"><img class="alignnone size-full wp-image-8876" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/44.png" alt="" width="750" height="495" /></a></p>
<p>Right now the program control is on line number 3. I press the step into button to move the control inside the function.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/54.png"><img class="alignnone size-full wp-image-8877" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/54.png" alt="" width="715" height="502" /></a></p>
<p>You can see the yellow arrow move to sum function and you will also see the variables i,j,sum and their values.</p>
<p>I could have avoided entering the sum function by pressing the step over button when the control was on the line with the function call. I can also press the step out button any time to step out of the sum function and proceed with the rest of the code.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/64.png"><img class="alignnone size-full wp-image-8878" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/64.png" alt="" width="326" height="122" /></a></p>
<p>But right now let’s keep executing the rest of the lines in the sum function. Press the step in button to execute each line of code. You will see that the variables become updated on each step. When I have executed line 8 of the program, I see that the variable sum has a value of “8”.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/73.png"><img class="alignnone size-full wp-image-8879" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/73.png" alt="" width="328" height="309" /></a></p>
<p>The value of sum should be 8.5 here but it is 8. This indicates that the error must be at this place in the code. Indeed if we look carefully, we can see that the type of the variable “sum” is declared as int. Since int cannot store fractions that is the reason that we have been seeing 8 in the output instead of 8.5 .If we change the type of sum to Number and then execute our code again, we can see the correct value of 8.5.</p>
<p><a href="http://www.webdesigndev.com/wp-content/uploads/2011/11/82.png"><img class="alignnone size-full wp-image-8880" src="http://www.webdesigndev.com/wp-content/uploads/2011/11/82.png" alt="" width="247" height="176" /></a></p>
<p>And so we have successfully used the debugger to debug our code. This is a very small code and the bug could be spotted without the help debugger too, but when you are managing large and complex codes then debugger will definitely be of huge help and it will help you see the bugs in the code which cannot be spotted very easily without it.</p>
<p>Do you want bug-free code? Use <a title="Wix" href="http://www.wix.com/amazingwebsites/editoreasy?utm_campaign=af_webdesigndev.com&amp;experiment_id=af_webdesigndev.com113" rel="nofollow" target="_blank">Wix</a>, an amazing free Flash website builder that will let you create a very professional Flash website in the fraction of the time it takes creating it from scratch.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.webdesigndev.com/flash/flash-debugger-tutorial-how-to-debug-adobe-flash/feed</wfw:commentRss>
		<slash:comments>2</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 1093/1163 objects using disk: basic

Served from: www.webdesigndev.com @ 2012-02-09 14:51:11 -->
