<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:georss='http://www.georss.org/georss' xmlns:thr='http://purl.org/syndication/thread/1.0' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/&quot;DEQGQX4_cCp7ImA9WhZTGE0.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541</id><updated>2011-03-22T08:05:20.048-07:00</updated><title>Adobe Flash Training</title><subtitle type='html'>Learn how to use Adobe Flash with all the free tutorials. Game Making, Animating, cartoon design, web design and much more...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default?redirect=false&amp;v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>51</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry gd:etag='W/&quot;DEUGSHk8eCp7ImA9WhZTGE0.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-6591823784245348927</id><published>2011-03-22T08:03:00.000-07:00</published><updated>2011-03-22T08:03:49.770-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-03-22T08:03:49.770-07:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><category scheme='http://www.blogger.com/atom/ns#' term='Game Making'/><title>Creating a game menu</title><content type='html'>Although this menu is designed for a shooting game, using the skills that you learn from this tutorial will help you when creating and making any menu for any flash game or flash movie.&lt;br /&gt;
&lt;br /&gt;
Double click on layer 1, and rename it actions.&lt;br /&gt;
Insert another 4 layers, renaming them: ‘title’, ‘purchases’, ‘player name’ and ‘start button’.&lt;br /&gt;
More layers will need to be inserted shortly, for the shooting menu’s animation, which will be your creation (see animation tutorials if unsure). If this is the first menu you have ever made, perhaps try adding some animation once your comfortable with the concept of creating a menu. so far you should have the following layers&lt;br /&gt;
&lt;br /&gt;
-Actions (For all the actions)&lt;br /&gt;
-Title (Contains the title of the game)&lt;br /&gt;
-Purchases (A layer which controls the purchasing funtions)&lt;br /&gt;
-Player name (Allows the player to enter their name)&lt;br /&gt;
-Start button (Allows the player to begin the game)&lt;br /&gt;
&lt;br /&gt;
In this shooting game menu, the player will be required to enter their name, purchase bullets, and press the start button to begin.&lt;br /&gt;
&lt;br /&gt;
You will need to think of a title for the game, which will be ‘Shoot to Kill’ for this tutorial. Using the text tool, insert a textbox somewhere on the stage, making sure it is on the title layer, and insert the title of the game in the textbox. Being a main heading the text should be made visible with colour, and made a moderate size. For this tutorial the headings original position is off the stage, and once the game has started it slides in from the side of the stage to the middle of the stage. &lt;br /&gt;
Let's make your title do this also. On frame 1 of the title layer move the text off the left hand side of stage, making sure none of the text is visible on the stage. Right click on frame 15 on the title layer and insert a keyframe. On frame 15 move the title text to where you want it to slide to. Once this is done, right click anywhere between the 1st and 15th frame and create motion tween. Test the movie to see the result.  &lt;br /&gt;
&lt;br /&gt;
Now that there is an animation at the start of the game, you don't want to &lt;br /&gt;
see all the other menu options until this animation is over.&lt;br /&gt;
So you will need to insert a keyframe on frame 15 of all the other layers, as this is where the animation ends.&lt;br /&gt;
&lt;br /&gt;
Before going any further define the variables of the game. On the 15th frame of the actions layer, insert the following actionscript:&lt;br /&gt;
&lt;br /&gt;
stop();&lt;br /&gt;
var ammo = 0;&lt;br /&gt;
var money = 100;&lt;br /&gt;
&lt;br /&gt;
This tells Adobe Flash to set the players money to 100, and the players ammo to 0. Obviously the player will require some money to purchase ammo. But only a little bit, as this is only the beginning of the game.&lt;br /&gt;
&lt;br /&gt;
Now for the player name layer:&lt;br /&gt;
Using the text tool, insert a textbox somewhere on the stage on the 15th frame. In the textbox properties, set it to input text, this allows the player to enter text in to the textbox. Select the textbox, and give it a var of ‘playerName’ without the quotation marks. Also, next to ‘Var:’ on the left side, there are three buttons, the one closest to ‘Var:’ puts a border around the text box, click on it, and make sure that there is a border around the text box. (If this isn' done, the user won’t be able to see where to enter their name).&lt;br /&gt;
Now next to this playerName input textbox, on the left hand side, insert a static textbox. In the textbox write ‘enter name:’&lt;br /&gt;
The shooting menu now has a place for the user to enter their name!&lt;br /&gt;
&lt;br /&gt;
For the purchase layer:&lt;br /&gt;
You will now need to provide the player with some stats showing them how much ammo they have purchased. &lt;br /&gt;
Using the text tool insert a static textbox on the stage, and write in the textbox, ‘ammo:’ Now next to this, on the right hand side of this textbox, insert a dynamic textbox, give it a var of ammo. The shooting menu now has somewhere to display how much ammo the player has purchased.&lt;br /&gt;
&lt;br /&gt;
Now you will need to design a button that allows the user to purchase the bullets.&lt;br /&gt;
Using the text tool, draw out a static textbox, and type in ‘Purchase Bullets’. You could also draw a little bullet to put next to the text just to make it more creative and interesting. Select the purchase bullets text, right click on it, and convert it in to a button.&lt;br /&gt;
Right click on the purchase bullets button, and give it the following actions:&lt;br /&gt;
on (release) {&lt;br /&gt;
if (_root.money&amp;gt;24) {&lt;br /&gt;
_root.ammo += 5;&lt;br /&gt;
_root.money -= 25;&lt;br /&gt;
} else {&lt;br /&gt;
_root.ammo += 0;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
This tells Adobe Flash that when the button is released, if the money is larger than 24, the users ammo will go up by 5, however, if it’s below 24, the ammo won’t go up at all.&lt;br /&gt;
Meaning the cost of 5 bullets is, 25.&lt;br /&gt;
The user can now insert their name, and purchase bullets for the game menu.&lt;br /&gt;
&lt;br /&gt;
You will also need to insert some money functions on this layer:&lt;br /&gt;
Using the text tool, insert some static text somewhere on the stage, and make the text '$', on the right hand side of this, insert a dynamic text box, with the var of money. And that's it for that!&lt;br /&gt;
&lt;br /&gt;
Last but not least, the start button:&lt;br /&gt;
Simply draw the graphic that you want to be you start button, right click on it, and convert it in to a button.&lt;br /&gt;
Now give the start button the following actions by right clicking on it and selecting actions:&lt;br /&gt;
&lt;br /&gt;
on (release) {&lt;br /&gt;
gotoAndStop("Scene 2", 1);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
This tells flash that when the button is released, go to scene 2.&lt;br /&gt;
&lt;br /&gt;
Scene 2, is where the start of the main game begins. To insert ‘Scene 2’, click on ‘insert’, from the top menu, and select scene. &lt;br /&gt;
&lt;br /&gt;
On scene 2, insert three dynamic textboxes, and three static text boxes.&lt;br /&gt;
&lt;br /&gt;
Give these var names to the dynamic text boxes:&lt;br /&gt;
One textbox needs to have a ‘var’ of: ammo&lt;br /&gt;
Another needs a var of: playerName&lt;br /&gt;
And the last needs a var of: money.&lt;br /&gt;
&lt;br /&gt;
Now obviously for the static text boxes, they describe what the dynamic text boxes are for. So next to the ammo text box on the left hand side, insert the text ‘ammo’.&lt;br /&gt;
For the money text box, it needs a money symbol next to it ‘$’.&lt;br /&gt;
Being a shooting game, you may want to make a crosshair cursor. &lt;a href="http://learnflash8pro.blogspot.com/2008/09/custom-cursor.html"&gt;Take this tutorial to see how to make a crosshair cursor&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
To go back to scene 1, click on ‘view’, from the top menu, hover the mouse over ‘go to’, and select scene 1.&lt;br /&gt;
&lt;br /&gt;
This is a basic way of creating a menu, but it is fully funtional, and the skills learnt from this tutorial, can definately be used for other tasks. NOT JUST FOR A SHOOTING GAME!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-6591823784245348927?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/6591823784245348927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=6591823784245348927' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/6591823784245348927?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/6591823784245348927?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/how-to-make-shooting-game-menu.html' title='Creating a game menu'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;C0AHSX47eSp7ImA9WhZTGE0.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-7882683939520222477</id><published>2011-03-22T06:48:00.000-07:00</published><updated>2011-03-22T06:48:58.001-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-03-22T06:48:58.001-07:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><title>Useful flash shortcuts</title><content type='html'>Learning the Adobe Flash shortcuts isn't necessarily essential, but certainly can come in handy! &lt;br /&gt;
&lt;br /&gt;
Selection tool – shortcut key = v&lt;br /&gt;
Oval tool – shortcut key = o&lt;br /&gt;
Rectangle tool – shortcut key = r&lt;br /&gt;
Brush tool – shortcut key = b&lt;br /&gt;
Paint bucket tool – shortcut key = k&lt;br /&gt;
Convert to keyframe – shortcut key = F6&lt;br /&gt;
Convert to blank keyframe – shortcut key = F7&lt;br /&gt;
Clear keyframe – shortcut key = shift+F6&lt;br /&gt;
Test movie – shortcut key = Ctrl+Enter&lt;br /&gt;
Debug movie – shortcut key = Crtl+Shift+Enter&lt;br /&gt;
Test Scene – shortcut key = Ctrl+Alt+Enter&lt;br /&gt;
Actions – shortcut key = F9&lt;br /&gt;
Transform – shortcut key = Ctrl+T&lt;br /&gt;
&lt;br /&gt;
Have this list somewhere nearby your computer, in no time you'll be able to use them off the top of your head.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-7882683939520222477?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/7882683939520222477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=7882683939520222477' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/7882683939520222477?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/7882683939520222477?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/useful-flash-shortcuts.html' title='Useful flash shortcuts'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>3</thr:total></entry><entry gd:etag='W/&quot;C0MMRn85eyp7ImA9WhZTGE0.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-2921070594182053933</id><published>2011-03-22T06:44:00.000-07:00</published><updated>2011-03-22T06:44:47.123-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-03-22T06:44:47.123-07:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><title>Setting x and y co-ordinates</title><content type='html'>Defining a movieclip's position using only actionscript is essential. And can be used for so many different tasks, game making, website design, logo placement, title placement etc. &lt;br /&gt;
&lt;br /&gt;
Draw out a shape or picture on the stage, make it moderate size and place it anywhere on the stage. Select the whole of the shape/picture you have drawn, right click on it, and convert it in to a movieclip.&lt;br /&gt;
In the properties box, give it an instance name of ‘myimage’, without the quotation marks.&lt;br /&gt;
&lt;br /&gt;
Now right click on frame 1, on the first and only layer, and select ‘actions’.&lt;br /&gt;
Insert the following actionscript:&lt;br /&gt;
&lt;br /&gt;
myimage.onEnterFrame = function() {&lt;br /&gt;
this._x = 253;&lt;br /&gt;
this._y = 178;&lt;br /&gt;
this._width = 55;&lt;br /&gt;
this._height = 55;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
This tells Adobe Flash that when it enters the frame, the images x (horizontal) co-ordinates is to be set to 253, and its y (vertical) &lt;br /&gt;
co-ordinates is to be set to 178. &lt;br /&gt;
It also tells flash that the width and height of the image is to be set to 55. If you apply this to a simple shape like a square it should turn out perfect, but changing the width and height of something like a stick figure, will most like distort it. Unless you adjust the height and width settings until you have the desired effect. Obviously for a stick figure you would want the height to be greater than the width otherwise he will be one funny looking stick figure.&lt;br /&gt;
&lt;br /&gt;
The current x and y co-ordinates will place the image in the center of the stage (providing the stage size is set to default). Now test the flash movie and the image will have those exact co-ordinates, height and width properties that were set in the actionscript.&lt;br /&gt;
&lt;br /&gt;
How could something like this be applied to a game? Shooting or car game, when the player dies they are reset back to the set co-ordinates, RPG, when the player reaches a certain point in the game they are taken to new part of the game. The possiblities are endless. Play with the ideas and test them out. There is no exact line of actionscript that will make something happen, there are a number of different ways of writing completely different lines of actionscript, but still having the same effect.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-2921070594182053933?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/2921070594182053933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=2921070594182053933' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/2921070594182053933?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/2921070594182053933?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/set-movieclips-position-and-size.html' title='Setting x and y co-ordinates'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>1</thr:total></entry><entry gd:etag='W/&quot;A0MBRXoyeCp7ImA9WhZTF0Q.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-4763714327111365845</id><published>2011-03-22T05:54:00.000-07:00</published><updated>2011-03-22T06:10:54.490-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-03-22T06:10:54.490-07:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Mathematical functions'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='Buttons'/><category scheme='http://www.blogger.com/atom/ns#' term='Game Making'/><title>Learning actionscript</title><content type='html'>Learning actionscript can be really difficult, it's just like learning another languange, a languange that allows you to communicate with Adobe Flash and tell it what to do, when to do it and how to do it. This is one of the most important skills to learn for anyone wanting to develop their skills in game making, website design and interactive pages.&lt;br /&gt;
&lt;br /&gt;
Actionscript is extremely precise, 100% to be exact, so you will need to become really familar with the languange, and this is obviously achieved through constant use of actionscript, trying different things, solving code errors. Learning to solve code errors is definately a really effective way of developing your skills. It doesn't matter in the slightest if you have to &lt;a href="http://google.com/"&gt;Google&lt;/a&gt; the solution, your job is to remember the mistake, and REMEMBER THE SOLUTION!&lt;br /&gt;
&lt;br /&gt;
Get to know the basics, before progressing to more advanced actionscript you should at least know some of the most basic lines of actionscript. For example, a very common line that you will use very regularly: &lt;br /&gt;
'gotoAndPlay(2)' - This tells Adobe Flash that you want it to go to the &lt;br /&gt;
second keyframe on the timeline, and play. Timeline control is definately something you need to understand, and luckily, it is really easy to pick up. This line of code doesn't really achieve much though. To make this more detailed, you could make it,&lt;br /&gt;
'on (release) {gotoAndPlay(2)}' - This actionscript would work perfect &lt;br /&gt;
with a play button. &lt;br /&gt;
&lt;br /&gt;
That may only be one line of actionscript,and a very simple line, but it's a start. And in no time you should be able to memorise that and use it regularly without even thinking about it. Of course you will eventually need to use much more sophisticated actionscript, but once you have mastered the basics, this won't seem so daunting. And these tutorials will ease you in to the process.&lt;br /&gt;
&lt;br /&gt;
Summary: Begin to learn actionscript and remember it, you should never copy and past, the idea is learn to write your own code, the more you type in the actionscript, the quicker and easier you will learn to write your own code! &lt;br /&gt;
&lt;br /&gt;
Quote: 'When you come across a problem, find the solution, and remember the solution!'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-4763714327111365845?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/4763714327111365845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=4763714327111365845' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/4763714327111365845?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/4763714327111365845?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/learning-actionscript.html' title='Learning actionscript'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;A08BRnk_eCp7ImA9WxBaE0Q.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-8752983363288166818</id><published>2010-03-20T03:37:00.000-07:00</published><updated>2010-03-23T20:04:17.740-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-23T20:04:17.740-07:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><category scheme='http://www.blogger.com/atom/ns#' term='Basic website design'/><title>How to insert a combo box</title><content type='html'>&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/BlnOcJ3j0nw&amp;hl=en_US&amp;fs=1&amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/BlnOcJ3j0nw&amp;hl=en_US&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;br /&gt;
The combo box is an inbuilt component in flash, and is very easy to use.&lt;br /&gt;
Simply click on ‘window’ from the top menu, and then select ‘components’, from the list.&lt;br /&gt;
A window will appear with a few categories, click the plus symbol next to ‘user interface’, and now double click on the ‘combo box’ option. This will insert an instance of a combo box on the stage.&lt;br /&gt;
As you will see, there are no options in the combo box; we need to change the parameters. Simply click on the combo box, you should see the combo boxes property box at the bottom of the screen, if not, click on the little arrow button.&lt;br /&gt;
There will be three tabs, ‘Properties’, ‘Filters’ and ‘Parameters’, select the parameters tab.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_X1Jna6-Bha8/S6Sk7IG0-6I/AAAAAAAAABM/kEZ7q-w9-kg/s1600-h/Parameter+tab+eg.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="96" src="http://3.bp.blogspot.com/_X1Jna6-Bha8/S6Sk7IG0-6I/AAAAAAAAABM/kEZ7q-w9-kg/s320/Parameter+tab+eg.jpg" vt="true" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="border: medium none;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="border: medium none;"&gt;A table will appear in the empty window, here is where you edit the parameters.&lt;/div&gt;Where it says label, there will be no text in the box next to it, so double click on the empty box, and this will appear. (without the names).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_X1Jna6-Bha8/S6SlGdvz9cI/AAAAAAAAABU/4_VIimerEH0/s1600-h/Values.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_X1Jna6-Bha8/S6SlGdvz9cI/AAAAAAAAABU/4_VIimerEH0/s320/Values.jpg" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Simply use the ‘+’ symbol to add labels. I used ‘John’, ‘Jack’ and ‘Barry’&lt;br /&gt;
That’s all you need to do, and you’ve go a combo box. &lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_X1Jna6-Bha8/S6SlMliS6ZI/AAAAAAAAABc/pL3Xj6awDIQ/s1600-h/combo+example.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_X1Jna6-Bha8/S6SlMliS6ZI/AAAAAAAAABc/pL3Xj6awDIQ/s320/combo+example.jpg" vt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="border: medium none;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-8752983363288166818?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/8752983363288166818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=8752983363288166818' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/8752983363288166818?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/8752983363288166818?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/how-to-insert-combo-box.html' title='How to insert a combo box'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_X1Jna6-Bha8/S6Sk7IG0-6I/AAAAAAAAABM/kEZ7q-w9-kg/s72-c/Parameter+tab+eg.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CUQDQnw_eCp7ImA9WxBaEEs.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-986448458657079498</id><published>2010-03-19T22:26:00.000-07:00</published><updated>2010-03-19T22:36:13.240-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-19T22:36:13.240-07:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><category scheme='http://www.blogger.com/atom/ns#' term='Basic website design'/><category scheme='http://www.blogger.com/atom/ns#' term='Game Making'/><title>How to make a checkbox</title><content type='html'>&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/ZtLt1vBuGdM&amp;hl=en_US&amp;fs=1&amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/ZtLt1vBuGdM&amp;hl=en_US&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;br /&gt;
Flash has built in components, and one of these components is a checkbox.&lt;br /&gt;
Click on the ‘window’ button which is at the top of the screen. Select ‘components’ from the list of options. A new window will be displayed, and in this there will be a couple of sections. We want the ‘User Interface’ components. And from these components, double click on the ‘checkbox’ option. An instance of a text box will now appear on the stage.&lt;br /&gt;
Select the checkbox, and above its property box at the bottom of the screen, is where the actions can be applied. Insert the following code:&lt;br /&gt;
&lt;br /&gt;
onClipEvent (enterFrame) {&lt;br /&gt;
if (this.selected) {&lt;br /&gt;
_root.gotoAndStop(2);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
This tells flash that when the frame is entered, if the checkbox is selected, go to frame 2.&lt;br /&gt;
And that’s all there is to making a checkbox.&lt;br /&gt;
Checkboxes can be good for making a quiz, or getting information from the user.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-986448458657079498?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/986448458657079498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=986448458657079498' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/986448458657079498?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/986448458657079498?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/how-to-make-checkbox.html' title='How to make a checkbox'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DUEDSHw6fip7ImA9WxBbGUo.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-3350441959969530435</id><published>2010-03-18T22:47:00.001-07:00</published><updated>2010-03-18T22:47:59.216-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-18T22:47:59.216-07:00</app:edited><title>Fun PC Games</title><content type='html'>&lt;a href='http://www.funpcgame.com' target=_blank&gt;&lt;b&gt;Download games&lt;/b&gt;&lt;/a&gt;&lt;br&gt;Free PC online Games , free pc games download, computer games &amp; mobile games including puzzle games, arcade games, RPG games, shooting games , casual games and more free games downloads available at Fun PC Games&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-3350441959969530435?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/3350441959969530435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=3350441959969530435' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/3350441959969530435?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/3350441959969530435?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/fun-pc-games.html' title='Fun PC Games'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DkIDR3cyeip7ImA9WxBbE0w.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-1008732293339952202</id><published>2010-03-11T05:36:00.000-08:00</published><updated>2010-03-11T05:36:16.992-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-11T05:36:16.992-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><title>How to display an output message</title><content type='html'>&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/ALrckvW-n8A&amp;hl=en_US&amp;fs=1&amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/ALrckvW-n8A&amp;hl=en_US&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;br /&gt;
This can be good when giving the user instructions, creator of the game etc.&lt;br /&gt;
Simply right click on frame 1, and insert the following code:&lt;br /&gt;
&lt;br /&gt;
trace (“Use the arrow keys to navigate you way around”)&lt;br /&gt;
&lt;br /&gt;
This would display an out put message that says ‘Use the arrow keys to navigate you way around.&lt;br /&gt;
It’s as simple as that.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-1008732293339952202?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/1008732293339952202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=1008732293339952202' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/1008732293339952202?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/1008732293339952202?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/how-to-display-output-message.html' title='How to display an output message'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;Dk8DQHs4eCp7ImA9WxBbEk0.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-7111432523117683957</id><published>2010-03-09T23:07:00.001-08:00</published><updated>2010-03-09T23:07:51.530-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-09T23:07:51.530-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Mathematical functions'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><title>Subtracting numbers</title><content type='html'>This tutorial is exactly the same as the adding numbers tutorial.&lt;br /&gt;
Only replace the ‘+’ symbol with a ‘-‘symbol.&lt;br /&gt;
And the actionscript code on the ‘=’ symbol button would be:&lt;br /&gt;
&lt;br /&gt;
on (release) {&lt;br /&gt;
_root.answer = Number(value1)-Number(value2);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Instead of &lt;br /&gt;
&lt;br /&gt;
on (release) {&lt;br /&gt;
_root.answer = Number(value1)+Number(value2);&lt;br /&gt;
} &lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://learnflash8pro.blogspot.com/2010/03/adding-two-numbers-together.html"&gt;Take the adding numbers tutorial here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-7111432523117683957?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/7111432523117683957/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=7111432523117683957' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/7111432523117683957?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/7111432523117683957?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/subtracting-numbers.html' title='Subtracting numbers'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;Dk8FR346cSp7ImA9WxBbEk0.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-3756287262739256494</id><published>2010-03-09T23:06:00.002-08:00</published><updated>2010-03-09T23:06:56.019-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-09T23:06:56.019-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Mathematical functions'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><title>Multiplying numbers</title><content type='html'>This tutorial is exactly the same as the adding numbers tutorial.&lt;br /&gt;
Only replace the ‘+’ symbol with a ‘*‘symbol. (shift-8)&lt;br /&gt;
And the actionscript code on the ‘=’ symbol button would be:&lt;br /&gt;
&lt;br /&gt;
on (release) {&lt;br /&gt;
_root.answer = Number(value1)*Number(value2);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Instead of &lt;br /&gt;
&lt;br /&gt;
on (release) {&lt;br /&gt;
_root.answer = Number(value1)+Number(value2);&lt;br /&gt;
} &lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://learnflash8pro.blogspot.com/2010/03/adding-two-numbers-together.html"&gt;Take the adding numbers tutorial here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-3756287262739256494?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/3756287262739256494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=3756287262739256494' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/3756287262739256494?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/3756287262739256494?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/multiplying-numbers.html' title='Multiplying numbers'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DkACQHc5cCp7ImA9WxBbEk0.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-1517727605374360211</id><published>2010-03-09T23:06:00.000-08:00</published><updated>2010-03-09T23:06:01.928-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-09T23:06:01.928-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Mathematical functions'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><title>Dividing numbers</title><content type='html'>This tutorial is exactly the same as the adding numbers tutorial.&lt;br /&gt;
Only replace the ‘+’ symbol with a ‘/‘symbol.&lt;br /&gt;
And the actionscript code on the ‘=’ symbol button would be:&lt;br /&gt;
&lt;br /&gt;
on (release) {&lt;br /&gt;
_root.answer = Number(value1)/Number(value2);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Instead of &lt;br /&gt;
&lt;br /&gt;
on (release) {&lt;br /&gt;
_root.answer = Number(value1)+Number(value2);&lt;br /&gt;
} &lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://learnflash8pro.blogspot.com/2010/03/adding-two-numbers-together.html"&gt;Take the adding numbers tutorial here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-1517727605374360211?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/1517727605374360211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=1517727605374360211' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/1517727605374360211?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/1517727605374360211?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/dividing-numbers.html' title='Dividing numbers'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DkECR389cCp7ImA9WxBbEk0.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-3739446951316942305</id><published>2010-03-09T23:04:00.000-08:00</published><updated>2010-03-09T23:04:26.168-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-09T23:04:26.168-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Mathematical functions'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><title>Adding two numbers together</title><content type='html'>A really easy task, however, a very common mistake is often made.&lt;br /&gt;
When defining the numbers in actionscript, you MUST define them as numbers; otherwise they’ll be recognised as strings.&lt;br /&gt;
If they are recognised as strings, 2+2 would come out as 22.&lt;br /&gt;
So let’s start this tutorial, and do it the CORRECT way.&lt;br /&gt;
Start by selecting the ‘text tool’, in the property box, set it to, ‘Input text’, and draw out a text box. Now right click on the text box you just inserted, and select ‘copy’, right click somewhere else on the stage and select ‘paste’.&lt;br /&gt;
Now position the two text boxes next to each other, leave enough room for ‘+’ symbol to go in between them. &lt;br /&gt;
Layout so far:&lt;br /&gt;
&lt;input textbox="" /&gt; ‘+’ &lt;input textbox="" /&gt;&lt;br /&gt;
Now give the input textbox on the left an instance name of ‘value1’, and the one on the right an instance of ‘value2’. (Do not include the quotes)&lt;br /&gt;
Now underneath the two textboxes and ‘+’ symbol, put a ‘=’ symbol in, position it underneath the ‘+’ symbol. &lt;br /&gt;
Now using the ‘text tool’ again, insert a textbox underneath the ‘=’ symbol. (This is where the answer will be displayed). Select the text box, and in its property box, set it to ‘dynamic text’, and give it an instance name of ‘answer’, without the quotes.&lt;br /&gt;
Layout:&lt;br /&gt;
&lt;br /&gt;
&lt;input text="" /&gt; ‘+’ &lt;input text="" /&gt;&lt;br /&gt;
‘=’&lt;br /&gt;
&lt;input text="" /&gt;&lt;br /&gt;
&lt;br /&gt;
Right click on the ‘+’ symbol, and select ‘convert to symbol’, select the ‘button’ radio button, and then click OK.&lt;br /&gt;
Right click on the ‘=’ button, and select ‘actions’, and insert the following code:&lt;br /&gt;
&lt;br /&gt;
on (release) {&lt;br /&gt;
_root.answer = Number(value1)+Number(value2);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
This tells flash that when the button is released, value1 (the left textbox) and value2 (the right textbox) are to be added together, and the answer is to be displayed in the answer textbox.&lt;br /&gt;
&lt;br /&gt;
Now right click on frame 1, select ‘actions’, and insert the following code:&lt;br /&gt;
&lt;br /&gt;
var value1:Number = 0;&lt;br /&gt;
var value2:Number = 0;&lt;br /&gt;
var answer:Number = 0;&lt;br /&gt;
&lt;br /&gt;
This sets all the textboxes to 0&lt;br /&gt;
And that’s all you need to do.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-3739446951316942305?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/3739446951316942305/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=3739446951316942305' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/3739446951316942305?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/3739446951316942305?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/adding-two-numbers-together.html' title='Adding two numbers together'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;Ak8NSH87cCp7ImA9WxBbEUQ.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-8883945295069475845</id><published>2010-03-09T21:28:00.000-08:00</published><updated>2010-03-09T21:28:19.108-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-09T21:28:19.108-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='Game Making'/><title>Designing and creating an RPG game</title><content type='html'>RPG/Role Playing games are among the most popular games. As and RPG game puts the user in control of the game more than most other games types. Allowing the user to make choices, take certain paths and hope it’s the right one and so on.&lt;br /&gt;
Before you start designing your game, it is really important that you do a plan first.&lt;br /&gt;
Grab a scrap of paper and start jotting down the ‘Game Plan.’&lt;br /&gt;
This can include, the list of characters that will appear in your game, including there role in the game, and even a biography of the character, including there personality, are they bad or good, what do they do in the RPG game.&lt;br /&gt;
Now try develop a bit of a story line, how will the game begin, what type of problems will arise, what will fix the problems? &lt;br /&gt;
Deciding how the user will interact with the game, for example:&lt;br /&gt;
Will the user be required to walk through the game and face the challenges, or will they only need the mouse to decide the characters fate, both would be better.&lt;br /&gt;
Write it out like a book, you do not need to include all the details, just enough for you to understand what’s going on. Once you’ve mapped out the plan, have a pretty accurate idea of what events will happen in the game, solution, character etc, have a little think about some additional features that you could add to your game.&lt;br /&gt;
Such as: &lt;br /&gt;
Inventory - to hold all the items the player can collect&lt;br /&gt;
Health bar – so the player can die&lt;br /&gt;
Timer or time limit – make the game more difficult with a time limit&lt;br /&gt;
Score – things the player can collect through out the game to earn points.&lt;br /&gt;
&lt;br /&gt;
Once you have this all written down, know what you want to happen in the game, have the events plotted out, you can start creating your game, and you’ll be shocked about how much easier it is to set your game out, and get it going.&lt;br /&gt;
Start by designing your characters, design a menu, and so on.&lt;br /&gt;
The information you need, can be found on this website.&lt;br /&gt;
Resources:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://rpg/Role%20Playing%20games%20are%20among%20the%20most%20popular%20games.%20As%20and%20RPG%20game%20puts%20the%20user%20in%20control%20of%20the%20game%20more%20than%20most%20other%20games%20types.%20Allowing%20the%20user%20to%20make%20choices,%20take%20certain%20paths%20and%20hope%20it’s%20the%20right%20one%20and%20so%20on."&gt;How to make an inventory&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://learnflash8pro.blogspot.com/2008/09/shooting-game.html"&gt;How to make a score&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://learnflash8pro.blogspot.com/2008/09/making-countdown.html"&gt;Timer/time limit&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://learnflash8pro.blogspot.com/2010/03/how-to-make-health-bar.html"&gt;Health bar&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-8883945295069475845?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/8883945295069475845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=8883945295069475845' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/8883945295069475845?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/8883945295069475845?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/designing-and-creating-rpg-game.html' title='Designing and creating an RPG game'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;C0YDQ3g7eip7ImA9WxBaFE0.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-2809055101401640275</id><published>2010-03-09T04:13:00.000-08:00</published><updated>2010-03-23T20:26:12.602-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-23T20:26:12.602-07:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Basic website design'/><title>How to make a dropdown menu</title><content type='html'>&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/-4jeOiLI2QI&amp;hl=en_US&amp;fs=1&amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/-4jeOiLI2QI&amp;hl=en_US&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;br /&gt;
There are many ways to make a dropdown menu using flash, some easier than others, however, the graphic of the dropdown menu can sometimes be a bit glitchy and just don't do what you want it to. &lt;br /&gt;
Here is a way, of making a dropdown menu, that works great, and is very functional.&lt;br /&gt;
We will be using the ‘_visible’ code for this dropdown menu, and it works great when making a dropdown menu in flash.&lt;br /&gt;
Begin by inserting an additional layer. Double click on layer 1, and rename it, ‘dropDown’. Double click on the other layer, and name it content.&lt;br /&gt;
On the dropDown layer, using the rectangle tool, draw out a rectangle, with a width of about ‘110’, and a height of about ‘45’. This rectangle will be used to bring down the dropdown menu. Using the ‘text tool’, draw out a text box in the rectangle, insert the text ‘tools’, and in text boxes property panel, make sure the text is set to ‘static’. &lt;br /&gt;
Select the whole rectangle, and right click on it, select ‘copy’, and then right click somewhere on the stage, and select ‘paste’.&lt;br /&gt;
ALTERNATIVE/TIP: Place the rectangle in the position that you want it to be, and select the whole thing. Now press ‘Ctrl-c, now press, Ctrl-shift-v’. This will copy the rectangle, and paste it in the exact same position. Using the down arrow key, you can move it just underneath the other rectangle, and then it’s all in place.&lt;br /&gt;
Copy and paste the rectangle twice, so that you are left with 3 rectangles on the stage.&lt;br /&gt;
On one of the rectangles, double click on the text box, and change the text to ‘FAQ’, and on the other rectangle change the text to ‘Contact’.&lt;br /&gt;
Now select one of the rectangles (make sure the text is selected too, hold shift to select multiple things), right click, and select ‘convert to symbol’. Select the ‘button’ radio button, and then click OK. Convert the other two rectangles in to buttons using the same method, (select whole rectangle, right click, convert to symbol, button, OK)&lt;br /&gt;
Now position the button that says ‘tools’ on it, in the top left hand corner of the stage, The other two buttons have to go directly underneath, (the final positioning is exactly how you want the dropdown menu to appear, the rest will be done through actionscript).&lt;br /&gt;
Select the button with ‘FAQ’ written on it, and change in its property’s panel, give it an instance name of ‘faq_btn’ without the quotes!!!&lt;br /&gt;
Now for the ‘Contact’ button, change its instance name to ‘contact_btn’, again, without the quotes!!!&lt;br /&gt;
Right click on frame 1 of the ‘dropDown’ layer, and select actions. Insert the following code:&lt;br /&gt;
&lt;br /&gt;
stop();&lt;br /&gt;
contact_btn._visible = false;&lt;br /&gt;
faq_btn._visible = false;&lt;br /&gt;
&lt;br /&gt;
This tells flash that when the flash movie starts, we want it to be stopped on frame 1, and the contact button, is not to be visible, as well as the faq button.&lt;br /&gt;
Now right click on the button that says ‘tools’ on it, and select actions. Insert the following code:&lt;br /&gt;
&lt;br /&gt;
on (release) {&lt;br /&gt;
if (_root.faq_btn._visible == false, _root.contact_btn._visible == false) {&lt;br /&gt;
_root.faq_btn._visible = true;&lt;br /&gt;
_root.contact_btn._visible = true;&lt;br /&gt;
} else if (_root.faq_btn._visible == true, _root.contact_btn._visible == true) {&lt;br /&gt;
_root.faq_btn._visible = false;&lt;br /&gt;
_root.contact_btn._visible = false;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
This tells flash that when the button is release, if the faq button, and the contact button, are not visible, make them visible, and if they are already visible, to make them not visible.&lt;br /&gt;
Now right click on the faq button, select actions, and insert the following code:&lt;br /&gt;
&lt;br /&gt;
on (release) {&lt;br /&gt;
gotoAndStop(2);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
This tells flash that when the faq button is release, go to and stop at frame 2.&lt;br /&gt;
Right click on the contact button, and insert the following code:&lt;br /&gt;
&lt;br /&gt;
on (release) {&lt;br /&gt;
gotoAndStop(3);&lt;br /&gt;
} &lt;br /&gt;
&lt;br /&gt;
This tells flash that when the button is release, to go to and stop at frame 3.&lt;br /&gt;
That is it for the actions now. Now insert keyframes at frames 2 and 3 on the ‘dropDown’ layer. &lt;br /&gt;
All we need to do now is fill in the content layer. Insert keyframes on frames 2 and 3 on this layer as well. (the content layer).&lt;br /&gt;
On frame 2, using the ‘text tool’ simply insert the text, FAQ, at the top of the stage, and then just make up a couple of random questions and answers.&lt;br /&gt;
Now on frame 3, using the ‘text tool’ again, insert the text, CONTACT, and then perhaps just a fake email, phone number etc.&lt;br /&gt;
Now if you hit ‘Ctrl-Enter’, you’ll be able to click the tools button, and the other two options will appear underneath, click the either of the buttons’ and you’ll be taken to the specified frame, simply click on the tool button again, to hide the menu.&lt;br /&gt;
And that’s how you make a fully functional dropdown menu.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-2809055101401640275?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/2809055101401640275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=2809055101401640275' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/2809055101401640275?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/2809055101401640275?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/how-to-make-dropdown-menu.html' title='How to make a dropdown menu'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CUcHQ38_eCp7ImA9WxBbEE4.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-5459011555610390622</id><published>2010-03-07T23:21:00.000-08:00</published><updated>2010-03-07T23:23:52.140-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-07T23:23:52.140-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><title>Flash Decompiler</title><content type='html'>Flash Decompiler is a program used to edit flash video's and games. It can convert .swf files back to their original .fla file type, meaning you can open it up in flash and edit things etc.&lt;br /&gt;
This is great to learn how things are done in flash, and give an answer to "I wonder how that was done?'&lt;br /&gt;
&lt;br /&gt;
Download a free 15 day trial :&lt;br /&gt;
&lt;a href="http://download.cnet.com/Flash-Decompiler-Gold/3000-6676_4-10857443.html?tag=lst-1&amp;amp;cdlPid=10865875"&gt;Flash Decompiler Gold 2.3.1.1156&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-5459011555610390622?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/5459011555610390622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=5459011555610390622' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/5459011555610390622?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/5459011555610390622?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/flash-decompiler.html' title='Flash Decompiler'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;C0QBRXg6fCp7ImA9WxBUGUk.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-6819879318952360248</id><published>2010-03-06T21:51:00.000-08:00</published><updated>2010-03-06T21:55:54.614-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-06T21:55:54.614-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><category scheme='http://www.blogger.com/atom/ns#' term='Game Making'/><title>How to make a password</title><content type='html'>&lt;object height="385" width="480"&gt;&lt;param name="movie" value="http://www.youtube.com/v/__7oXF4HePE&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/__7oXF4HePE&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to make an input text field where the user needs to enter a password in order to play the flash file.&lt;br /&gt;
&lt;br /&gt;
This is really easy to do.&lt;br /&gt;
Begin by selecting the ‘text tool’, and in the property box at the bottom, make sure it is set to ‘dynamic text’, and the text alignment is set to ‘Align Center’.&lt;br /&gt;
Now at the top of the stage, draw out a large text field that will fit the text, ‘invalid password’ in it. In the property’s box of this text field, underneath where it says, dynamic text, there will be an empty box, in this box, insert the following, ‘wrongPassword’. Without the quotes!!!&lt;br /&gt;
This text box will be used to let the user know if they have entered an invalid password.&lt;br /&gt;
Using the ‘text tool’ again, set it to ‘input text’, in the property’s box, and insert a text field on the stage. (This is where the user will enter a password). In the property box, underneath where it says, ‘input text’, write ‘my_passWord’, without the quotes!!!&lt;br /&gt;
And next to where it says Var: write, ‘passWord’, without the quotes.&lt;br /&gt;
Now we will need to insert a button, for the user to click after they have entered a password. Somewhere on the stage, using the ‘oval tool’, draw out an oval, where you want the submit button to be.&lt;br /&gt;
Now select the whole oval, right click on it, and then go down to ‘convert to symbol’, and make it a button.&lt;br /&gt;
Now right click on the button, and select ‘actions’, insert the following code:&lt;br /&gt;
&lt;br /&gt;
on (release) {&lt;br /&gt;
if (_root.passWord == "cjay" == true) {&lt;br /&gt;
gotoAndStop(2);&lt;br /&gt;
} else {&lt;br /&gt;
_root.wrongPassword.text = "Invalid Passord";&lt;br /&gt;
gotoAndStop(1);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
In the first line of code:&lt;br /&gt;
&lt;br /&gt;
‘(_root.passWord == “cjay” == true) {&lt;br /&gt;
&lt;br /&gt;
Change ‘cjay’ to whatever you want the password to be.&lt;br /&gt;
When the button is released, it checks to make sure that the password entered is cjay, and if it is it will go to the next frame.&lt;br /&gt;
Else&lt;br /&gt;
The text box we made before called wrongPassword, will display, the text ‘Invalid Password’ and it will stay at frame 1.&lt;br /&gt;
Now right click on frame 1 in layer 1, select ‘action’, and insert the following code:&lt;br /&gt;
&lt;br /&gt;
stop();&lt;br /&gt;
my_passWord.password = true;&lt;br /&gt;
&lt;br /&gt;
This code tells flash that to stop on this frame, and that the text entered is to be displayed with asterisks, as this hides the password.&lt;br /&gt;
Now right click on frame 2 of layer 1, select ‘insert keyframe’, and delete everything off this keyframe.&lt;br /&gt;
On this new keyframe, using the ‘text tool’ set it to ‘static text’, enter some text like, ‘the password you entered was accepted’.&lt;br /&gt;
And that’s it for this tutorial.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-6819879318952360248?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/6819879318952360248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=6819879318952360248' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/6819879318952360248?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/6819879318952360248?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/how-to-make-password.html' title='How to make a password'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;D08FSXc7fSp7ImA9WxBaFUw.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-6449671214971405504</id><published>2010-03-05T17:01:00.000-08:00</published><updated>2010-03-25T04:16:58.905-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-25T04:16:58.905-07:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Game Making'/><title>How to make a health bar</title><content type='html'>&lt;object height="385" width="480"&gt;&lt;param name="movie" value="http://www.youtube.com/v/A3IkihUVpWY&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/A3IkihUVpWY&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Making a health bar with with flash 8 can be useful for many different types of flash games, and it doesn’t just have to be a health bar. It can be a petrol gauge in a racing flash game, a time left bar, a skill bar; pretty much anything that represents stats. Flash 8 works very well with numbers and stats, so it's good to learn as it is very commonly used when making flash games.&lt;br /&gt;
&lt;br /&gt;
For this example, we’ll just use it as a health bar.&lt;br /&gt;
Begin by drawing out a rectangle on the stage, they’re you go, that’s it for the drawing part already. Select the whole rectangle, and in its property box at the bottom of the screen, you see W: meaning width, and H: meaning height, set the width to 120, and the height to 20. This is not necessary, but an average size health bar is around this in flash games.&lt;br /&gt;
Right click on the rectangle, go down to ‘convert to symbol’, and make it a ‘movie clip’. However, to the right, there is a registration grid, it is set to the middle by default, change it over to the left of the grid by clicking on the desired area on the grid, and then click OK.&lt;br /&gt;
&lt;br /&gt;
Now right click on the rectangle movieclip, and select ‘actions’ from the menu, insert the following actionscript:&lt;br /&gt;
&lt;br /&gt;
onClipEvent (enterFrame) {&lt;br /&gt;
this._xscale -= 1;&lt;br /&gt;
}&lt;br /&gt;
onClipEvent (enterFrame) {&lt;br /&gt;
if (this._xscale == 0) {&lt;br /&gt;
_root.gotoAndStop(2);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
This code means that the xscale of the rectangle will go down by 1 every time flash 8 enters the frame.&lt;br /&gt;
If flash 8 enters the frame and the xscale is 0, flash will go to frame 2.&lt;br /&gt;
Right click on frame 1, and go down to ‘actions’, insert the following actionscript:&lt;br /&gt;
&lt;br /&gt;
stop();&lt;br /&gt;
&lt;br /&gt;
Now right click on frame 2, and select ‘insert keyframe’, this is the frame, where we will let the user know, that, they’re dead.&lt;br /&gt;
Delete the health bar from this frame, as there won’t be any by the time they reach frame 2 in the game, and insert the following text on the stage, ‘You died!!!’. &lt;br /&gt;
You could animate this text, add some graphics, or something like that.&lt;br /&gt;
And that's how you make a health bar using flash 8. &lt;br /&gt;
As I said, this learning how to use statistics and numbers using flash 8, is very useful for when it comes to making flash games.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-6449671214971405504?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/6449671214971405504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=6449671214971405504' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/6449671214971405504?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/6449671214971405504?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/how-to-make-health-bar.html' title='How to make a health bar'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CUUFQnk-eip7ImA9WxBUFks.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-5773813204556860570</id><published>2010-03-03T16:31:00.000-08:00</published><updated>2010-03-03T16:40:13.752-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-03T16:40:13.752-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Free flash games'/><title>Play free online flash games</title><content type='html'>&lt;span style="font-size: large;"&gt;Games provided by &lt;a href="http://miniclip.com/"&gt;miniclip.com&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;Action&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/3-foot-ninja/en/"&gt;3 FOOT NINJA&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/on-the-run/en/"&gt;ON THE RUN&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/monster-trucks/en/"&gt;MONSTER TRUCKS&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/commando/en/"&gt;COMMANDO&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/kickboxing/en/"&gt;KICKBOXING&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/trials-2/en/"&gt;TRIALS 2&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/cab-driver/en/"&gt;CAB DRIVER&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/desert-ambush/en/"&gt;DESERT AMBUSH&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/frost-bite/en/"&gt;FROST BITE&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/frost-bite-2/en/"&gt;FROST BITE 2&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/police-pursuit/en/"&gt;POLICE PURSUIT&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/tribe/en/"&gt;TRIBE&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;Shoot 'Em Up&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/railroad-rampage/en/"&gt;RAILROAD RAMPAGE&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/obama-alien-defense/en/"&gt;OBAMA ALIEN DEFENSE&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/clash-n-slash/en/"&gt;CLASH N SLASH&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/air-barons/en/"&gt;AIR BARONS&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/bow-master/en/"&gt;BOW MASTER&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/gun-run/en/"&gt;GUN RUN&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/tanked-up/en/"&gt;TANKED UP&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/castle-conquest/en/"&gt;CASTLE CONQUEST&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/sniper/en/"&gt;SNIPER&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/most-wanted/en/"&gt;MOST WANTED&lt;/a&gt; &lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/king-of-the-hill/en/"&gt;KING OF THE HILL&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/paintball/en/"&gt;PAINTBALL&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;Sports&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/winter-games/en/"&gt;WINTER GAMES&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/mountain-bike/en/"&gt;MOUNTAIN BIKE&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/base-jumping/en/"&gt;BASE JUMPING&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/jet-ski/en/"&gt;JET SKI&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/surfs-up/en/"&gt;SURF'S UP&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/go-karts/en/"&gt;GO KARTS&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/the-ashes/en/"&gt;THE ASHES&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/mini-soccer/en/"&gt;MINI SOCCER&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/air-show/en/"&gt;AIR SHOW&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/field-goal/en/"&gt;FIELD GOAL&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/super-trucks/en/"&gt;SUPER TRUCKS&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/tiger-golf/en/"&gt;TIGER GOLF&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;em&gt;Racing&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/fast-car-frenzy/en/"&gt;FAST CAR FRENZY&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/max-speed/en/"&gt;MAX SPEED&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/rich-racer/en/"&gt;RICH RACER&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/down-hill-chill/en/"&gt;DOWN HILL CHILL&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/ice-racer/en/"&gt;ICE RACER&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/power-boat/en/"&gt;POWER BOAT&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/formula-g1/en/"&gt;FORMULA G1&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/snowboard-madness/en/"&gt;SNOWBOARD MADNESS&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/caravan-racers/en/"&gt;CARAVAN RACERS&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/miniclip-rally/en/"&gt;MINICLIP RALLY&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/wood-runner/en/"&gt;WOOD RUNNER&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/hot-rods/en/"&gt;HOT RODS&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.miniclip.com/games/rural-racer/en/"&gt;RURAL RACER&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-5773813204556860570?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/5773813204556860570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=5773813204556860570' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/5773813204556860570?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/5773813204556860570?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/play-free-online-flash-games.html' title='Play free online flash games'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;A0IBRnc4fSp7ImA9WxBUFU0.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-4116391332915369881</id><published>2010-03-01T19:25:00.000-08:00</published><updated>2010-03-01T21:59:17.935-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-01T21:59:17.935-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='Buttons'/><category scheme='http://www.blogger.com/atom/ns#' term='Animation'/><title>How to make an animated button</title><content type='html'>&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/n8pfCnFcm70&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/n8pfCnFcm70&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://learnflash8pro.blogspot.com/2008/09/making-button.html"&gt;If you aren’t familiar with making buttons, you can take a tutorial here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Begin by drawing out the shape you want to be a button, right click on it and select, ‘convert to symbol’.&lt;br /&gt;
Now double click on the button to enter its timeline.&lt;br /&gt;
Once in the button’s timeline, select the entire button, and right click on it and then go down to ‘convert to symbol’ again. This time, make sure the ‘movie clip’ radio button is checked, and then click OK.&lt;br /&gt;
This not change the whole button in to a movie clip, if you go back to the main timeline, flash will recognise the whole thing, as being a button still.&lt;br /&gt;
Now double click on the graphic you just converted in to a movie clip, to enter its timeline.&lt;br /&gt;
Here is where you can animate the button, notice how the timeline and frames are normal.&lt;br /&gt;
Animate it any way you want.&lt;br /&gt;
I made a button that has text on it that says ‘Click’. I inserted a keyframe at frame 10, and changed the text to ‘Here’, and inserted another keyframe at frame 20, so ‘Here’ appears for the same time as ‘Click’.&lt;br /&gt;
Now I have a button that say’s click, and shortly after it changes to here. This loops so my button displays it over and over.&lt;br /&gt;
Animate it anyway you want, that was just an idea for you, change the picture completely if you want. &lt;br /&gt;
&lt;br /&gt;
Other tutorials you might like:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://learnflash8pro.blogspot.com/2008/10/making-website-bannertut22.html"&gt;This tutorial has information in it to show you how to link buttons.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-4116391332915369881?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/4116391332915369881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=4116391332915369881' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/4116391332915369881?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/4116391332915369881?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/how-to-make-animated-button.html' title='How to make an animated button'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;A0INRnc8fip7ImA9WxBUFU0.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-1032224212008745605</id><published>2010-03-01T17:27:00.000-08:00</published><updated>2010-03-01T21:59:57.976-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-01T21:59:57.976-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Animation'/><category scheme='http://www.blogger.com/atom/ns#' term='Text Effects'/><title>How to make glowing text</title><content type='html'>&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/1vscWNvCj1g&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/1vscWNvCj1g&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Glowing text is a great effect, and it can be a great way to catch the users attention, which is why in this example I'll show you how to link the text to a website.&lt;br /&gt;
Begin by using the text tool and inserting the text that you want to add a glowing effect to.&lt;br /&gt;
I'm using the text 'Learn Flash 8 Pofessional'&lt;br /&gt;
Once you have done this, right click on the text, and choose 'convert to symbol'. Check the 'button' radio button, and click on OK.&lt;br /&gt;
Right click on this button, and go down to, 'actions'.&lt;br /&gt;
Now insert the following code:&lt;br /&gt;
&lt;br /&gt;
on (release) {&lt;br /&gt;
&lt;br /&gt;
getURL(&lt;a href="http://www.learnflash8pro.blogspot.com/"&gt;http://www.learnflash8pro.blogspot.com/&lt;/a&gt;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Now when the user clicks on the text it will take them to them to my website.&lt;br /&gt;
Simply replace the URL in the brackets with the URL you want, include &lt;a href="http://www/"&gt;http://www/&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Select the button, and open up it's propert pannel by clicking on the little Up arrow which it in the center of the screen, and at the bottom.&lt;br /&gt;
There will be three tabs here, &lt;br /&gt;
Properties, Filters and Parameters.&lt;br /&gt;
We need to use some Filters, so click on the Filters tab.&lt;br /&gt;
There will be a plus symbol, which is used to add filters, click on this and select 'Glow'.&lt;br /&gt;
(While you are using the filters, experiment by adding more filter and messing around with the settings,&lt;br /&gt;
&lt;strong&gt;&lt;span style="color: red;"&gt;THAT IS HOW YOU LEARN NEW THINGS, AND BECOME A BETTER USER OF FLASH PROFESSIONAL 8&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="color: black;"&gt;Once you select glow, you can adjust the settings (to the left) to change the way it looks, larger glow, strength of glow etc.&lt;/span&gt;&lt;br /&gt;
And that's it, now you can add this to your game or movie, animate the text by making it move around the screen to catch the users attention even more.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-1032224212008745605?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/1032224212008745605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=1032224212008745605' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/1032224212008745605?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/1032224212008745605?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/03/how-to-make-glowing-text.html' title='How to make glowing text'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CUQAQ3ozeyp7ImA9WxBUFEQ.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-5238986894343666450</id><published>2010-02-27T01:20:00.000-08:00</published><updated>2010-03-01T17:29:02.483-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-01T17:29:02.483-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><category scheme='http://www.blogger.com/atom/ns#' term='Game Making'/><title>How to make a movie clip drag able</title><content type='html'>&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/yeuss67ij8Y&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/yeuss67ij8Y&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the following code to a movie clip to make it drag able:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
onClipEvent (mouseDown) {&lt;br /&gt;
&lt;br /&gt;
startDrag(this);&lt;br /&gt;
}&lt;br /&gt;
onClipEvent (mouseUp) {&lt;br /&gt;
stopDrag();&lt;br /&gt;
}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-5238986894343666450?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/5238986894343666450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=5238986894343666450' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/5238986894343666450?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/5238986894343666450?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2010/02/how-to-make-movie-clip-drag-able.html' title='How to make a movie clip drag able'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CUEARHo6eCp7ImA9WxBUFEQ.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-2132495725882876799</id><published>2008-10-04T01:41:00.000-07:00</published><updated>2010-03-01T17:34:05.410-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-01T17:34:05.410-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><title>Common audio problem</title><content type='html'>One of the most frequent questions I have been recieving How do you import audio and preview it simply by moving the playhead. This is very simple, first of all, import the audio that you want to the library. Rename layer 1 audio. Drag the audio file from the library to the stage on the first keyframe. insert another key frame where the audio ends, if the audio has ended the wave line will just be a straight line. Once you have established the audio ending point, click on the first keyframe of the audio layer, and in the properties inspector, you will see an option that says sync, click on the drop down menu and set it to stream. Click on the last keyframe and change the sync option to stop, this is so the audio will stop playing when it reached the specified keyframe.&lt;br /&gt;
Now move the playhead along the timeline and the audio will play at wherever the playhead is.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-2132495725882876799?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/2132495725882876799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=2132495725882876799' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/2132495725882876799?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/2132495725882876799?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2008/10/common-audio-problem.html' title='Common audio problem'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;A0YNSHg6cSp7ImA9WxBUFE0.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-8142868500714362839</id><published>2008-10-03T20:21:00.000-07:00</published><updated>2010-02-28T18:06:39.619-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-02-28T18:06:39.619-08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Game Making'/><title>How to make your character walk with the arrow keys</title><content type='html'>Insert an additional layer so that you will now have two layers; name the top layer actions, and the bottom layer character.&lt;br /&gt;
On the first frame of the character layer, draw out your character facing to the left of the stage. Convert it into a movie clip and name it stand still. Right click on stand still in the library and select duplicate, name the duplicate walk left. Double click on the walk left symbol in the library and animate him walking right. IMPORTANT NOTE: Don’t actually make him move to the right; just animate the legs as if he was walking right.&lt;br /&gt;
When you have done that, click back to the main timeline.&lt;br /&gt;
Now right click on the walk left movie clip in the library and name the duplicate walk right.&lt;br /&gt;
Double click on the walk right movie clip to enter it timeline and then select modify from the top menu options, transform and flip horizontal. Now click back to the main timeline.&lt;br /&gt;
On the first frame of the character drag an instance of the stand still move clip to the centre of the stage, give it an instance name of standStill. Double click on this move clip and insert a blank keyframe at frame 2. Then drag an instance of the walk left move clip to the centre of the stage making sure it is in the same position as the stand still move clip was. Insert another blank keyframe where, then drag an instance of the walk right movie clip from the library and position in the centre of the stage, as before make sure this is in the same position the walk left was, only is will be facing the opposite direction.&lt;br /&gt;
Insert a new layer, and name it actions, right click on the first frame and select actions, add the following code:&lt;br /&gt;
Stop();&lt;br /&gt;
&lt;br /&gt;
Now click back to the main timeline.&lt;br /&gt;
Right click on the first frame of the actions layer, and select actions, add the following code:&lt;br /&gt;
//if the left arrow key is down, go to frame to of this movie clip and also move left.&lt;br /&gt;
standStill.onEnterFrame = function() {&lt;br /&gt;
if(Key.isDown(Key.LEFT)) {&lt;br /&gt;
this._x+=4;&lt;br /&gt;
this.gotoAndStop(2);&lt;br /&gt;
}&lt;br /&gt;
else if(Key.isDown(Key.RIGHT)) {&lt;br /&gt;
this._x-=4;&lt;br /&gt;
this.gotoAndStop(3);&lt;br /&gt;
}&lt;br /&gt;
//if none of the above is happening, stop on frame 1&lt;br /&gt;
else this.gotoAndStop(1);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Well done, that is all you need to do.&lt;br /&gt;
As I always say: any questions Email me at: &lt;a href="mailto:learn_flash_pro_makeitsimple_now@hotmail.com"&gt;learn_flash_pro_makeitsimple_now@hotmail.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-8142868500714362839?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/8142868500714362839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=8142868500714362839' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/8142868500714362839?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/8142868500714362839?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2008/10/character-walk-using-arrow-keystut24.html' title='How to make your character walk with the arrow keys'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;Ck4BSXs9eCp7ImA9WxBaFE0.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-6186826030776367607</id><published>2008-10-03T19:16:00.000-07:00</published><updated>2010-03-23T20:22:38.560-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-03-23T20:22:38.560-07:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Basic website design'/><title>How to make a website</title><content type='html'>We will start by inserting the required layers, insert 4 additional layers.&lt;br /&gt;
In order from the bottom layer to the top layer, sections, title, stitle, navigate and actions(the order does not matter too much, this is the order I used).&lt;br /&gt;
Select modify from the top menu bar, than select the option document, change the background colour(preferably not white).&lt;br /&gt;
We will now insert all the required keyframes and frames needed to make the website.&lt;br /&gt;
Actions- Insert a frame at frame 4&lt;br /&gt;
Navigate- Insert a frame at frame 4&lt;br /&gt;
Stitle- Insert a keyframe in frames 2, 3 and 4 leaving you with 4 key frame in the layer.&lt;br /&gt;
Title- Insert a frame in frame 4&lt;br /&gt;
Sections- Insert a keyframe at frames 2, 3 and 4 leaving you with 4 keyframes.&lt;br /&gt;
&lt;br /&gt;
Select the window option from the top menu bar, then select the option components.&lt;br /&gt;
Under the user interface section, double click on the button option.&lt;br /&gt;
Now there will be a on the stage and one in the library. Drag the button to the left of the stage(this will be so the user can navigate between pages).&lt;br /&gt;
NOTE: Make sure the button is on the navigate layer.&lt;br /&gt;
When you have positioned it where you want it, select it, then press:&lt;br /&gt;
Ctrl C&lt;br /&gt;
To Copy the Button&lt;br /&gt;
Ctrl Shit V&lt;br /&gt;
To Paste the Button In Place.&lt;br /&gt;
&lt;br /&gt;
Using the arrow keys, position the copied button underneath the previous button(you may put this next to your button, depending on your layout).&lt;br /&gt;
Using the same method, ctrl c and ctrl sift v, put another button underneath the copied button. Now copy and paste one more under the button you just pasted, you should now be left with for buttons.&lt;br /&gt;
Now we don’t want the button name to be button obviously, however, we change the name using a different method when using a compiled button.&lt;br /&gt;
Select top button, now open up the properties inspector, then click on the tab labeled parameters. Just under icon, there will be a box that says label in it, next to it there will be a box that says button, change the box that says button to Home.&lt;br /&gt;
Give it an instance name of homepage. (the main page for a website)&lt;br /&gt;
Now select the bottom underneath the home button, and label it Tutorials, give it an instance name of tutorials.&lt;br /&gt;
Select the button under Tutorials and label it Tips, give it an instance name of tips also.&lt;br /&gt;
Select the button underneath tips and label it Did You Know? Give it an instance name of dyk.&lt;br /&gt;
&lt;br /&gt;
We will now apply all the actions that will be required for the website.&lt;br /&gt;
Right click on the first frame in the actions layer, and select the option actions.&lt;br /&gt;
On the first line type in:&lt;br /&gt;
stop();&lt;br /&gt;
tutorials.onRelease = function() {&lt;br /&gt;
gotoAndStop(2);&lt;br /&gt;
}&lt;br /&gt;
tips.onRelease = function() {&lt;br /&gt;
gotoAndStop(3);&lt;br /&gt;
}&lt;br /&gt;
dyk.onRelease = function() {&lt;br /&gt;
gotoAndStop(4);&lt;br /&gt;
}&lt;br /&gt;
homepage.onRelease = function() {&lt;br /&gt;
gotoAndStop(1);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Now lets put the sections together. On the second keyframe in the sections layer, write out something like, “Welcome to my website”.&lt;br /&gt;
On the third keyframe of the sections layer write out something like “Great tips to get you started”.&lt;br /&gt;
On the fourth frame of the sections layer write out something like “Did you know &lt;a href="http://www.learnflash8pro.blogspot.com/"&gt;http://www.learnflash8pro.blogspot.com/&lt;/a&gt; is a great site for learning flash”.&lt;br /&gt;
Now for the first frame of the title layer, we want to insert the name of a website, for example, I would insert the text Learn Flash 8 Professional. This title will appear on every frame so make sure that it does not interfere with any of the other pages.&lt;br /&gt;
Last but now least the Stitle layer, this is to simple name the current page, so for example on the first frame you would write something like, homepage, the second would say tutorials and so on.(it is basically to tell the user what the current page features).&lt;br /&gt;
And that is how you make a website using flash, add some animations to make it look a bit better, it's always good to have an attractive website.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-6186826030776367607?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/6186826030776367607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=6186826030776367607' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/6186826030776367607?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/6186826030776367607?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2008/10/making-websitetut23.html' title='How to make a website'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CUcNQXg5cCp7ImA9Wx5WFko.&quot;'><id>tag:blogger.com,1999:blog-340743118660765541.post-8673520075040584639</id><published>2008-10-03T06:13:00.001-07:00</published><updated>2010-09-28T04:24:50.628-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-09-28T04:24:50.628-07:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Interesting'/><category scheme='http://www.blogger.com/atom/ns#' term='Basic website design'/><title>How to make a banner in flash</title><content type='html'>In this tutorial you will be making a website banner, which is commonly used for advertising. And, it is super easy to make a banner in flash!&lt;br /&gt;
Here is what you will achieve:&lt;br /&gt;
You will get the banner to appear, and when the user clicks on the banner, it will take them to most likely a website link.&lt;br /&gt;
Start by drawing out a rectangle using the rectangle tool(this is how big your banner will be). &lt;br /&gt;
Using the text tool(static text), draw out a text box, and insert some text relating to the site, and possibly an image! For this banner it will be “Learn Flash 8 Professional”.&lt;br /&gt;
After you have added text to the banner, feel free to add anything else to make it more appealing. Convert the banner into a button, and name it button. Give the banner an instance name of banner_btn.&lt;br /&gt;
Now insert a new layer and name it Actions.&lt;br /&gt;
Right click on frame 1 of the actions layer and select actions. On the first line type in:&lt;br /&gt;
&lt;br /&gt;
banner_btn.onRelease = function() {&lt;br /&gt;
getURL("http://www.learnflash8pro.blogspot.com/");&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
What this does is when the user releases the mouse on the banner it directs them to the website input in the actionscript panel. The only thing you would need to change would be the URL of the website(the URL is inside the brackets).&lt;br /&gt;
&lt;br /&gt;
And that's how to make a banner in flash!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/340743118660765541-8673520075040584639?l=learnflash8pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learnflash8pro.blogspot.com/feeds/8673520075040584639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=340743118660765541&amp;postID=8673520075040584639' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/8673520075040584639?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/340743118660765541/posts/default/8673520075040584639?v=2'/><link rel='alternate' type='text/html' href='http://learnflash8pro.blogspot.com/2008/10/making-website-bannertut22.html' title='How to make a banner in flash'/><author><name>CJ</name><uri>http://www.blogger.com/profile/14327720642479913588</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='13384047330630626834'/></author><thr:total>1</thr:total></entry></feed>