<?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/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5318076912516599768</id><updated>2012-02-16T17:15:11.035-02:00</updated><title type='text'>LF - Flash Studios</title><subtitle type='html'>Flash Tutorials, tips, and a lot more from flash artist/programmer Lucas Farris.
In advance, I am sorry for spelling/grammatic errors, and if you need anything, just write a comment !
WARNING:flash previews won't work on google chrome.. sorry - © 2009 Lucas Farris All rights reserved to the blog author - for help, click here: &lt;a href="http://lucasfarris.blogspot.com/2009/01/introduction.html"&gt;HELP&lt;/a&gt;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>37</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-6435774186930153865</id><published>2009-09-10T18:59:00.011-03:00</published><updated>2009-09-10T19:11:22.849-03:00</updated><title type='text'>CanVart</title><content type='html'>Here is a project i worked on for a few days =]&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.newgrounds.com/portal/view/510972"&gt; CanVart&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;or just see it below =]&lt;br /&gt;&lt;br /&gt;&lt;object width="550" height="400"&gt;&lt;br /&gt;&lt;param value="desenhando.swf" name="desenhando"/&gt;&lt;br /&gt;&lt;embed width="390" src="http://luksfarris.googlegroups.com/web/desenhando.swf?gda=iQXN30MAAACVLZR7b2nLgtfgoQ0Znt6mk42HnroHkOJ2fiOR2ErTkkG6VwzMTc3ZEfTB7RTa1l1txVPdW1gYotyj7-X7wDONZeyzzuqDOUYJGTuqSocT1A&amp;gsc=63c96AsAAADsAR4bvjAeY2RmS3BvEtZS" height="280"&gt;&lt;br /&gt;&lt;/embed&gt;&lt;br /&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-6435774186930153865?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/6435774186930153865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/09/canvart.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/6435774186930153865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/6435774186930153865'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/09/canvart.html' title='CanVart'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-6646406405701358665</id><published>2009-08-03T19:54:00.002-03:00</published><updated>2009-08-03T20:09:17.184-03:00</updated><title type='text'>RPG Tutorial - Part 2</title><content type='html'>Is your main character sketched ? if yes, now its time to start programming.&lt;br /&gt;So, our RPG is going to be 3rd person, and it will have an upper view.&lt;br /&gt;SO now what you will do is draw you character.&lt;br /&gt;If you want, look for existing RPG's like final fantasy, pokemon, and so many others they have out there.&lt;br /&gt;Once you have the design, make it a movie clip and its time for actions.&lt;br /&gt;&lt;br /&gt;onClipEvent (load) {&lt;br /&gt;speed = 10;&lt;br /&gt;}&lt;br /&gt;onClipEvent(enterFrame) {&lt;br /&gt;if(Key.isDown(Key.UP)) {&lt;br /&gt;_y-= speed;&lt;br /&gt;}&lt;br /&gt;if(Key.isDown(Key.DOWN)) {&lt;br /&gt;_y+= speed;&lt;br /&gt;}&lt;br /&gt;if(Key.isDown(Key.LEFT)) {&lt;br /&gt;_x-= speed;&lt;br /&gt;}&lt;br /&gt;if(Key.isDown(Key.RIGHT)) {&lt;br /&gt;_x+= speed;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;basically, what it does is move the character to the direction you want. Also you can change the speed to your will.&lt;br /&gt;&lt;br /&gt;***I WILL come back to this post VERY SOON and post previews and continue with the tutorial. just wait a few days.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-6646406405701358665?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/6646406405701358665/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/08/rpg-tutorial-part-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/6646406405701358665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/6646406405701358665'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/08/rpg-tutorial-part-2.html' title='RPG Tutorial - Part 2'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-7346584204154556992</id><published>2009-08-03T13:05:00.002-03:00</published><updated>2009-08-03T13:32:38.434-03:00</updated><title type='text'>RPG Tutorial - Part 1</title><content type='html'>Nooooow, i know i said i was going to post a platformer tutorial, but i will make it in flash, as a sequel to platformer universe. so, instead, i thought about writing a RPG tutorial !! yaaayyy... haha&lt;br /&gt;&lt;br /&gt;*Do you know what RPG stands for ? No ? it means Role-Playing-Game .&lt;br /&gt;&lt;br /&gt;ok, so in this first part we will just think about our game ok !?&lt;br /&gt;When i was a kid i used to play Dungeons&amp;Dragons on my friends basement, we would stay up all night slaying trolls and saving princesses. Why am i saying this ? Because your RPG must have a theme. D&amp;D had sort of a medieval theme, but there are lots of other options. It can be something from the future, based on movies, games, anything you want.&lt;br /&gt;&lt;br /&gt;Now, also, when i was a kid, the RPG games started to show up, for ATARI, MEGADRIVE, SNES, and even for the PC. You know what they all had in common ? A main character.&lt;br /&gt;So, that means it is time to come up with a main character. But there is 1 condition: it has to match your theme. If you chose an old west theme, dont come up with an elf archer. &lt;br /&gt;Now, once you created a character (AKA char), you are going to create classes for it. use your imagination here. ARcher, wizard, thief, assassin, knight, priest, cowboy, cop, robot, psychokinetic, whatever you want, as long as it matches your theme, ok ?!&lt;br /&gt;&lt;br /&gt;So now you have in mind a char, a theme, and some classes for your char, so now its time to come up with a story. Take your time here, 1 week if needed. As a good developer, you probably already have pages of sketches of your char don't you ? (i know you dont haha, but you should start =]) so, for  the story, i want you to write it, write about the char's origins, his wishes, where does his story begin? where does it ends... &lt;br /&gt;&lt;br /&gt;And as the story is created, a lot of other characters are revealed, we will call those NPC's (Non Playable Characters). Sketch them too !!  &lt;br /&gt;&lt;br /&gt;If you did everything listed above, you are ready for lesson 2 !!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-7346584204154556992?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/7346584204154556992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/08/rpg-tutorial-part-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/7346584204154556992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/7346584204154556992'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/08/rpg-tutorial-part-1.html' title='RPG Tutorial - Part 1'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-8834442585317622532</id><published>2009-08-02T18:26:00.004-03:00</published><updated>2009-08-03T13:37:41.660-03:00</updated><title type='text'>HTML and Flash</title><content type='html'>ok, so you wanna make a flash website ? or yu have a blog and wanna put some flash in it ? here is a guide on how to :&lt;br /&gt;&lt;br /&gt;so first off you are going to make the flash file. Make sure your work has the right size to feed your needs, otherwise you are gonna have to remake it.&lt;br /&gt;&lt;br /&gt;so, on your site or blog, you probably already have a html template, now all you gotta do is paste the object html tag (i'll mention it in a little bit) where you want your work to go.&lt;br /&gt;&lt;br /&gt;the tag is:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_iZpXH3QTV_s/SncSPLvzenI/AAAAAAAAAMk/EUHHbjo8eVs/s1600-h/untitled.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 114px;" src="http://1.bp.blogspot.com/_iZpXH3QTV_s/SncSPLvzenI/AAAAAAAAAMk/EUHHbjo8eVs/s320/untitled.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5365777533095869042" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;1: fill with the file's original width&lt;br /&gt;2: fill with the file's original height&lt;br /&gt;3: file's original name (example: mysuperflash.swf)&lt;br /&gt;4: flash's name (example: mysuperflash)&lt;br /&gt;5: here you put the width you want the flash to have on the site&lt;br /&gt;6: here you paste the link where your flash is hosted(example: http://flash.com/12)&lt;br /&gt;7: here you put the height you want the flash to have on the site&lt;br /&gt;&lt;br /&gt;now, you are probably wondering about how to host.&lt;br /&gt;so, if you have a google account it would be a good idea to use google groups.&lt;br /&gt;http://groups.google.com&lt;br /&gt;if you don't, you can either create an account, or host it at spam the web.&lt;br /&gt;i recommend http://www.spamtheweb.com/ because it is VERY easy to upload, but i have know clue for how long they will keep your file =]&lt;br /&gt;&lt;br /&gt;ah, 1 more thing. when you upload your stuff, ALWAYS remember to upload your .SWF file not the  .FLA , ok ?!&lt;br /&gt;&lt;br /&gt;that's it xD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-8834442585317622532?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/8834442585317622532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/08/html-and-flash.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/8834442585317622532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/8834442585317622532'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/08/html-and-flash.html' title='HTML and Flash'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_iZpXH3QTV_s/SncSPLvzenI/AAAAAAAAAMk/EUHHbjo8eVs/s72-c/untitled.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-8765792524682075264</id><published>2009-08-02T18:12:00.002-03:00</published><updated>2009-08-02T18:19:47.119-03:00</updated><title type='text'>hiii</title><content type='html'>its been a while...&lt;br /&gt;well, i guess there is no problem since probably only 4 people are even reading this..&lt;br /&gt;anyway, i intend to start writing tutorials again !!&lt;br /&gt;just wait for n3xt post =]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-8765792524682075264?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/8765792524682075264/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/08/hiii.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/8765792524682075264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/8765792524682075264'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/08/hiii.html' title='hiii'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-9112377725702680511</id><published>2009-04-05T22:07:00.002-03:00</published><updated>2009-04-05T22:09:44.972-03:00</updated><title type='text'>april already ?</title><content type='html'>i know i haven't been writing a lot lately...&lt;br /&gt;it's just that flash cs4 is so different... &lt;br /&gt;and i've been busy making interactive movies for the biology institute...&lt;br /&gt;&lt;br /&gt;im not sure but if everything goes well, i should be writing a platformer tutorial !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-9112377725702680511?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/9112377725702680511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/04/april-already.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/9112377725702680511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/9112377725702680511'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/04/april-already.html' title='april already ?'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-3671758885595984056</id><published>2009-03-19T19:53:00.003-03:00</published><updated>2009-03-19T20:02:29.704-03:00</updated><title type='text'>Brick Tutorial - Part 3</title><content type='html'>Now it's time to set it up. So make a cool preloader (i thaught you that already), adn on the frame after the preloader, Make a new empty keyframe, and draw 3 buttons, one for easy, one for medium, and one for hard. On easy, type :&lt;br /&gt;&lt;br /&gt;on (release) {&lt;br /&gt; _root.difficulty = 1;&lt;br /&gt; _root.nextFrame ();&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;The same thing for medium and hard, excepet the variable difficulty should be 2 for medium, and 3 for hard.&lt;br /&gt;On the next frame, make an empty keyframe, and on its actions, paste this:&lt;br /&gt;&lt;br /&gt;blocks = 0;&lt;br /&gt;lives = 5;&lt;br /&gt;lvl = 1;&lt;br /&gt;stop();&lt;br /&gt;&lt;br /&gt;Than, organize your blocks on a cool way, maybe 2 or 3 lines of blocks ( you can reescale them to change their shape if you want), and put the ball and the bar there.&lt;br /&gt;&lt;br /&gt;Anywhere on the stage make 2 dynamic text boxes. One with the var "blocks" and the other one with the var "lives".&lt;br /&gt;&lt;br /&gt;Now test your movie and it should be working. If anything happens, please write a comment !!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-3671758885595984056?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/3671758885595984056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/03/brick-tutorial-part-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/3671758885595984056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/3671758885595984056'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/03/brick-tutorial-part-3.html' title='Brick Tutorial - Part 3'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-6091243842123250566</id><published>2009-03-19T19:33:00.003-03:00</published><updated>2009-03-19T19:51:44.402-03:00</updated><title type='text'>Brick Tutorial - Part 2</title><content type='html'>Ok, so you have the ball and the bar. Now what you need is a block. Pay attention to the instructios cause making the block is a little more complicated. Start making a rectangle, and convert it to a movieclip. Than make 3 more copies of it, and align them so they become a square.&lt;br /&gt;Something like this:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_iZpXH3QTV_s/ScLKKTkIRsI/AAAAAAAAAMU/lEvbdb63zh8/s1600-h/erwg.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 273px; height: 211px;" src="http://2.bp.blogspot.com/_iZpXH3QTV_s/ScLKKTkIRsI/AAAAAAAAAMU/lEvbdb63zh8/s320/erwg.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5315032788649920194" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now it's time to give'em actions. For the one in the top, type this:&lt;br /&gt;&lt;br /&gt;onClipEvent (enterFrame) {&lt;br /&gt; if (_root.ball.hitTest(this)) {&lt;br /&gt;  _root.ball.yspeed *= -1;&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;for the one in the bottom:&lt;br /&gt;&lt;br /&gt;onClipEvent (enterFrame) {&lt;br /&gt; if (_root.ball.hitTest(this)) {&lt;br /&gt;  _root.ball.yspeed *= -1;&lt;br /&gt;&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;for the left one :&lt;br /&gt;&lt;br /&gt;onClipEvent (enterFrame) {&lt;br /&gt; if (_root.ball.hitTest(this)) {&lt;br /&gt;  _root.ball.xspeed *= -1;&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;and for the right one :&lt;br /&gt;&lt;br /&gt;onClipEvent (enterFrame) {&lt;br /&gt; if (_root.ball.hitTest(this)) {&lt;br /&gt;  _root.ball.xspeed *= -1;&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Now next thing you wanna do is select all of them and convert them to a movieclip. Now give these actions to the movieclip you just created:&lt;br /&gt;&lt;br /&gt;onClipEvent (load) {&lt;br /&gt; _root.blocks++;&lt;br /&gt; strenght = 1;&lt;br /&gt;}&lt;br /&gt;onClipEvent (enterFrame) {&lt;br /&gt; gotoAndPlay(strenght);&lt;br /&gt; if (_root.ball.hitTest(this)) {&lt;br /&gt;  strenght -= 1;&lt;br /&gt;  if (strenght == 0) {&lt;br /&gt;   _root.blocks -= 1;&lt;br /&gt;   unloadMovie(this);&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Ok, so let me explain. The Strenght variable is the number of times that the ball is gonna have to hit the block until it is gone. in this case, it's one. It also tells the block to go to and play the frame that matches the strenght. So inside this movieclip it would be a good idea to make a new layer and draw a new block for each frame. I think 5 are enough. Give all them the stop action, and we are done with the blocks. &lt;br /&gt;&lt;br /&gt;Now let's change the bar's code. You should replace what you have there with:&lt;br /&gt;&lt;br /&gt;onClipEvent (enterFrame) {&lt;br /&gt; _x = _root._xmouse;&lt;br /&gt; if (_root.blocks == 0) {&lt;br /&gt;  _root.nextFrame();&lt;br /&gt; }&lt;br /&gt; if (_root.lives == 0) {&lt;br /&gt;  _root.gotoAndStop("gameover");&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;It says that if there are no blocks on the stage, it will play the next frame. And if you run out of lives, it will play the frame labeled "gameover".&lt;br /&gt;&lt;br /&gt;Now replace the codes in the ball for these :&lt;br /&gt;&lt;br /&gt;onClipEvent (load) {&lt;br /&gt; function restart():Void {&lt;br /&gt;  _y = _root.bar._y-20;&lt;br /&gt;  _x = _root.bar._x-30;&lt;br /&gt;  xspeed = random(20)+5;&lt;br /&gt;  yspeed = random(20)+5;&lt;br /&gt; }&lt;br /&gt; restart();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;onClipEvent (enterFrame) {&lt;br /&gt; _x += xspeed;&lt;br /&gt; _y -= yspeed;&lt;br /&gt; if (_x&gt;=400) {&lt;br /&gt;  xspeed *= -1;&lt;br /&gt; }&lt;br /&gt; if (_x&lt;=0) {&lt;br /&gt;  xspeed *= -1;&lt;br /&gt; }&lt;br /&gt; if (_y&lt;=0) {&lt;br /&gt;  yspeed *= -1;&lt;br /&gt; }&lt;br /&gt; if (_root.bar.hitTest(this)) {&lt;br /&gt;  yspeed *= -1;&lt;br /&gt;  xspeed += _root.difficulty;&lt;br /&gt;  yspeed += _root.difficulty;&lt;br /&gt; }&lt;br /&gt; if (_y&gt;=600) {&lt;br /&gt;  _root.lives -= 1;&lt;br /&gt;  restart();&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;what we did is adding a difficulty to the game. Don't TEST it yet ! On next post we will set it up !!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-6091243842123250566?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/6091243842123250566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/03/brick-tutorial-part-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/6091243842123250566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/6091243842123250566'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/03/brick-tutorial-part-2.html' title='Brick Tutorial - Part 2'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_iZpXH3QTV_s/ScLKKTkIRsI/AAAAAAAAAMU/lEvbdb63zh8/s72-c/erwg.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-7981551618740190327</id><published>2009-03-07T21:55:00.004-03:00</published><updated>2009-03-07T22:08:46.364-03:00</updated><title type='text'>Brick Tutorial - Part 1</title><content type='html'>Hello ! I will start writing a brick game tutorial =] . I will use only actions you already know ok ?&lt;br /&gt;Let's start. Make a new file, 400x600, and change the framerate to 30.&lt;br /&gt;&lt;br /&gt;So, first thing we wanna do is a bar, that will follow the mouse. So draw a bar, and place it on the bottom. Add these actions to it:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;onClipEvent (enterFrame) {&lt;br /&gt;_x = _root._xmouse;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;very simple code here. Now we want to make a ball, that will turn when it hits the walls,the top, or the bar, and restart when it hits the bottom.&lt;br /&gt;So draw a ball, and type this on the actions pannel :&lt;br /&gt;&lt;br /&gt;onClipEvent (load) {&lt;br /&gt; function restart():Void {&lt;br /&gt;  _y = _root.bar._y-20;&lt;br /&gt;  _x = 200;&lt;br /&gt;  xspeed = random(20)+5;&lt;br /&gt;  yspeed = random(20)+5;&lt;br /&gt; }&lt;br /&gt; restart();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;onClipEvent (enterFrame) {&lt;br /&gt; _x += xspeed;&lt;br /&gt; _y -= yspeed;&lt;br /&gt; if (_x&gt;=400) {&lt;br /&gt;  xspeed *= -1;&lt;br /&gt; }&lt;br /&gt; if (_x&lt;=0) {&lt;br /&gt;  xspeed *= -1;&lt;br /&gt; }&lt;br /&gt; if (_y&lt;=0) {&lt;br /&gt;  yspeed *= -1;&lt;br /&gt; }&lt;br /&gt; if (_root.bar.hitTest(this)) {&lt;br /&gt;  yspeed *= -1;&lt;br /&gt; }&lt;br /&gt; if (_y&gt;=600) {&lt;br /&gt;  restart();&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;that code was long, but simple. The hardest i did was creating a function called restart.&lt;br /&gt;&lt;br /&gt;Well, for now that's it. But i will be back with more =]&lt;br /&gt;&lt;br /&gt;In the mean time, let's talk about random values. If you want a number variable to be random, type random (); for its value. Inside the parenthesis you can put a value so that this value will be the highest number. For example, random(20) can be any number from 1 to 20. And you can also add to random values. Like, random (20)+5 can be any number from 20 to 25.&lt;br /&gt;&lt;br /&gt;Numbers can also be undefined; , and NaN (not a number) , just for the record&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-7981551618740190327?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/7981551618740190327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/03/brick-tutorial-part-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/7981551618740190327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/7981551618740190327'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/03/brick-tutorial-part-1.html' title='Brick Tutorial - Part 1'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-4797017788065071201</id><published>2009-03-03T21:49:00.003-03:00</published><updated>2009-03-03T21:59:36.096-03:00</updated><title type='text'>HitTest</title><content type='html'>Hi !&lt;br /&gt;I know you all have been waiting for hit tests tutorial, so here i will teach you simple hittests.&lt;br /&gt;&lt;br /&gt;The easiest way to use a hit test is:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;if &lt;/span&gt;(&lt;span style="color:#3366ff;"&gt;_root&lt;/span&gt;.ball.&lt;span style="color:#3366ff;"&gt;hitTest&lt;/span&gt; (&lt;span style="color:#3366ff;"&gt;this&lt;/span&gt;)) {&lt;br /&gt;______________;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;this actions should go inside a enter frame onclipevent handler, inside a movieclip.&lt;br /&gt;what it means is that if the symbol named ball touches this movieclip, something is gonna happen.&lt;br /&gt;It's pretty easy, but it will only work really good with squares and rectangles.&lt;br /&gt;&lt;br /&gt;A more advanced use of hiTests is;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;if&lt;/span&gt; (&lt;span style="color:#3366ff;"&gt;_root&lt;/span&gt;.ball.&lt;span style="color:#3366ff;"&gt;hitTest&lt;/span&gt; (&lt;span style="color:#3366ff;"&gt;_x&lt;/span&gt;,&lt;span style="color:#3366ff;"&gt;_y&lt;/span&gt;,&lt;span style="color:#3366ff;"&gt;true&lt;/span&gt;) {&lt;br /&gt;____________;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;it says that if the ball touches this symbol's X and Y position, something happens. You can change x and Y to fit your needs. When we start tutorials (very soon), you will see how hittest works =]&lt;br /&gt;&lt;br /&gt;well, this post was short, but important. Now you certainly have all tools to make a good game. But if you think you still aren't able to make your own game, wait a few days, cause i will start a tutorial.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-4797017788065071201?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/4797017788065071201/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/03/hittest.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/4797017788065071201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/4797017788065071201'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/03/hittest.html' title='HitTest'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-2881679409533830132</id><published>2009-02-24T17:12:00.001-03:00</published><updated>2009-02-24T17:13:31.423-03:00</updated><title type='text'>CS4</title><content type='html'>omg...&lt;br /&gt;&lt;br /&gt;i just got flash cs4 and God it's different...&lt;br /&gt;&lt;br /&gt;i will spend the next few weeks working on it.&lt;br /&gt;&lt;br /&gt;Have a nice week !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-2881679409533830132?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/2881679409533830132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/cs4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/2881679409533830132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/2881679409533830132'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/cs4.html' title='CS4'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-1014440891116382973</id><published>2009-02-18T21:16:00.002-03:00</published><updated>2009-02-18T21:47:07.266-03:00</updated><title type='text'>Password</title><content type='html'>You probably have seen passwords on flash games before. Wonder how it works ?&lt;br /&gt;Well, i will teach you the easy way to do that.&lt;br /&gt;Firstly create 3 empty keyframes and give all of them the action stop();&lt;br /&gt;&lt;br /&gt;On first frame, make an imput text box and give it the INSTANCE name of "mypassword"&lt;br /&gt;Now make a button and give it this actions:&lt;br /&gt;&lt;br /&gt;on (release) {&lt;br /&gt; if (mypassword.text.indexOf("matrix") != -1) {&lt;br /&gt;  _root.nextFrame();&lt;br /&gt; } else {&lt;br /&gt;  _root.gotoAndStop(3);&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;In this case (that's the code from my example) the person would have to type matrix to move on, but you can change that to whatever you want.&lt;br /&gt;On second frame make whatever you want to happen if the password is right, and on third if the password is wrong. Again, you can change this to your needs.&lt;br /&gt;&lt;br /&gt;here is what i've done:&lt;br /&gt;&lt;br /&gt;&lt;object width="225" height="200"&gt;&lt;br /&gt;&lt;param value="password.swf" name="password"/&gt;&lt;br /&gt;&lt;embed width="225" src="http://luksfarris.googlegroups.com/web/password.swf?gda=oVGEAj4AAAA2EJuGLvDuq34UvieHaRSpjgqKGlS_TM0w7A_X_Yhky48oVX0fvN4YPBsAW6x9L2jjsKXVs-X7bdXZc5buSfmx" height="200"&gt;&lt;br /&gt;&lt;/embed&gt;&lt;br /&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-1014440891116382973?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/1014440891116382973/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/1014440891116382973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/1014440891116382973'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/password.html' title='Password'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-7304024480111468384</id><published>2009-02-17T16:37:00.002-03:00</published><updated>2009-02-17T16:55:04.151-03:00</updated><title type='text'>Preloader</title><content type='html'>Hi... &lt;br /&gt;you already know enough stuff to make something already right ? - well you should and one thing that your flash MUST have is a PRELOADER.&lt;br /&gt;So what is a preloader ? - a preloader is like an engine that will tell the user that the flash he is about to see is loading. They are usually bars, but with what i will teach you, you will be able to do anything you want.&lt;br /&gt;&lt;br /&gt;Ok, so as usual, i will tell you what to do, and with that you should be able to do your own stuff.&lt;br /&gt;It gets very easy, once you do it the first time. So on your first frame, type this:&lt;br /&gt;&lt;br /&gt;loadedbytes = getBytesLoaded();&lt;br /&gt;totalbytes = getBytesTotal();&lt;br /&gt;percentbytes = int(loadedbytes/(totalbytes/100));&lt;br /&gt;loader.gotoAndStop(percentbytes);&lt;br /&gt;&lt;br /&gt;This basically creates a variable with the total bytes, one with the loaded bytes, and their percentage. Next, we are gonna make a movieclip. Inside it, you should have your preloading animation with 100 frames. On the first frame type stop();&lt;br /&gt;&lt;br /&gt;Go back to the main timeline, and make a dynamic text box with the var "percentbytes"&lt;br /&gt;for the percentage. You can also make one with the var "totalbytes" for the total size of your flash. And another one with the var "loadedbytes" for the loaded bytes.&lt;br /&gt;Now select the first frame of the main timeline and press F6. On the frame that just appeared, type this:&lt;br /&gt;&lt;br /&gt;if (loadedbytes == totalbytes) {&lt;br /&gt; nextFrame();&lt;br /&gt;} else {&lt;br /&gt; gotoAndPlay(1);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;On the third frame you can put ads, the menu, or whatever you want. Well that's how you do a preloader. I didn't make any swf files for this post, but you can delete your cookies and come back to my blog to see the header loading.&lt;br /&gt;&lt;br /&gt;TIP: i've seen some submissions where the preloader is acctually a minigame, ive never done that but it is a very cool idea isn't it ?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-7304024480111468384?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/7304024480111468384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/preloader.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/7304024480111468384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/7304024480111468384'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/preloader.html' title='Preloader'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-2029543625096575355</id><published>2009-02-16T00:19:00.009-03:00</published><updated>2009-02-18T21:51:22.991-03:00</updated><title type='text'>Saving</title><content type='html'>Hi. I wanted to try a saving tutorial. If my sample here works, i will write a tutorial =]&lt;br /&gt;&lt;br /&gt;&lt;object width="400" height="200"&gt;&lt;br /&gt;&lt;param value="saving.swf" name="saving"/&gt;&lt;br /&gt;&lt;embed width="400" src="http://luksfarris.googlegroups.com/web/saving+sample.swf?gda=GpDCJUMAAAA2EJuGLvDuq34UvieHaRSpw0k2-OAkGF3MnRHi0PMW3CHtuH_uoK7ESA5opmBV7NoytiJ-HdGYYcPi_09pl8N7FWLveOaWjzbYnpnkpmxcWg" height="200"&gt;&lt;br /&gt;&lt;/embed&gt;&lt;br /&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;i will be trying different codes for the next few days so.. hang on a little.&lt;br /&gt;&lt;br /&gt;Well, apparently it is working so i guess i will write a tutorial =]&lt;br /&gt;&lt;br /&gt;Ok, so get ready, that means, open up flash. &lt;br /&gt;The first thing we want to do is think about what will be our variables, while my sample above has 2 variables, my RPG has more than 50, but the number of variables shouldn't be a problem.&lt;br /&gt;&lt;br /&gt;So on the first frame, type this codes:&lt;br /&gt;&lt;br /&gt;var savedgame = SharedObject.getLocal("mygamename");&lt;br /&gt;_root.variable = savedgame.data.variable;&lt;br /&gt;if (savedgame.data.age == undefined) {&lt;br /&gt; _root.variable = undefined;&lt;br /&gt;} else {&lt;br /&gt; _root.gotoAndStop(3);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;on the second frame, put stop (); on it's actions, and create a situation where your variable changes. Then create a button, place it wherever you want on the stage, and type this actions on it:&lt;br /&gt;&lt;br /&gt;on (release) {&lt;br /&gt; savedgame.data.variable = _root.variable;&lt;br /&gt; savedgame.flush();&lt;br /&gt; _root.gotoAndStop(3);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;than, on the 3rd frame, just make a dynamic text box and type "variable" on var.&lt;br /&gt;&lt;br /&gt;by doing this, you should be able to understand how saving works. There are more ways, specially with better versions of flash, and i might post them if i feel like it, but for now there is one very important thing you should know:&lt;br /&gt;&lt;br /&gt;your game will NOT be saved if you use space in your game's name. So for example:&lt;br /&gt;&lt;br /&gt;var savedgame = SharedObject.getLocal("my game name"); &lt;br /&gt;&lt;br /&gt;wouldn't work, that's because you are creating an internet temporarially file (cookie) and it won't accept spaces on it's index.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-2029543625096575355?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/2029543625096575355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/saving-sample.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/2029543625096575355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/2029543625096575355'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/saving-sample.html' title='Saving'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-1115725788903693573</id><published>2009-02-13T16:31:00.002-02:00</published><updated>2009-02-13T16:43:58.674-02:00</updated><title type='text'>Player's Name</title><content type='html'>Have you ever wondered why people ask your name ? and how do they let you type in one place, and then it's displayed somewhere else ?&lt;br /&gt;That is very simple, and i will teach you that with an exercise.&lt;br /&gt;&lt;br /&gt;Open up flash, and on the first frame type stop(); and make a big input text box. Give it the var "name". Then make a button on that frame and type this actions on the button:&lt;br /&gt;&lt;br /&gt;on (release) {&lt;br /&gt;_root.gotoAndStop (2);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Now go to the second frame and press F7. Then type hello on a regular text box, and right next to it, make an empty dynamic text box and give it the var "name".&lt;br /&gt;test your movie. This is what you should have:&lt;br /&gt;&lt;br /&gt;&lt;object width="300" height="100"&gt;&lt;br /&gt;&lt;param value="name.swf" name="name"/&gt;&lt;br /&gt;&lt;embed width="300" src="http://luksfarris.googlegroups.com/web/name.swf?gda=tsl-0joAAAA2EJuGLvDuq34UvieHaRSp6UwTOgKk3AFpJ5qGIoMAHbdNzELUsgnVYIVMjC9zOor97daDQaep90o7AOpSKHW0" height="100"&gt;&lt;br /&gt;&lt;/embed&gt;&lt;br /&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-1115725788903693573?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/1115725788903693573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/players-name.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/1115725788903693573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/1115725788903693573'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/players-name.html' title='Player&apos;s Name'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-4567655817922566341</id><published>2009-02-13T15:57:00.004-02:00</published><updated>2009-02-13T16:31:31.979-02:00</updated><title type='text'>Keyboard</title><content type='html'>Hello there ! i've been posting a lot of useful stuff in here right ?!&lt;br /&gt;So now it's time for the keyboard.&lt;br /&gt;&lt;br /&gt;So, you want things to happen if you press a key on the keyboard ? - Easy !&lt;br /&gt;i'm gonna teach you 2 ways, 1 limited easy way, and one limitless not that easy.&lt;br /&gt;&lt;br /&gt;one way to do that is:&lt;br /&gt;&lt;br /&gt;if (Key.isDown ( Key._____ )) {&lt;br /&gt;&lt;br /&gt;now, you see that blank space ? many things can go there. You can type:&lt;br /&gt;&lt;br /&gt;BACKSPACE, CAPSLOCK, CONTROL, DELETEKEY, DOWN, END, ENTER, ESCAPE, HOME, INSERT, LEFT, PGDN, PGUP, RIGHT, SHIFT, SPACE, TAB AND UP.&lt;br /&gt;&lt;br /&gt;an example of using this way is:&lt;br /&gt;&lt;br /&gt;if (Key.isDown (Key.PGUP)) {&lt;br /&gt;    _root.page._y += speed;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;that means that, when i press page up, the page mc is going up. Now, if you dont want none of this keys, for example if you want your char to move with WASD keys, you have to get the key's ASCII, wich is a number that refers to 1 key. Lucky for you, i prepared a flash that tells you the ASCII, it will be on the bottom of this post. Well, once you got the numbers, use this actions:&lt;br /&gt;&lt;br /&gt;watchKeyBoard = new Object();&lt;br /&gt;watchKeyBoard.onKeyDown = function() {&lt;br /&gt;    if (Key.getAscii() == ___) {&lt;br /&gt;        _________________________;&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;Key.addListener(watchKeyBoard);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The first blank space is where you type your ascii code, and that second is what happens when you press the key. Easy ? Here is the ASCII receiver i made:&lt;br /&gt;&lt;br /&gt;&lt;object width="200" height="100"&gt;&lt;br /&gt;&lt;param value="ascii receiver.swf" name="ascii"/&gt;&lt;br /&gt;&lt;embed width="200" src="http://luksfarris.googlegroups.com/web/Ascii+receiver.swf?gda=saJ7uUQAAAA2EJuGLvDuq34UvieHaRSpBulPNT-kcWpfrwLTJWhKgUHPkSFnRB6YisASWi9FuudV6u9SiETdg0Q2ffAyHU-dzc4BZkLnSFWX59nr5BxGqA" height="100"&gt;&lt;br /&gt;&lt;/embed&gt;&lt;br /&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;you may have to click it so it can work&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-4567655817922566341?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/4567655817922566341/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/keyboard.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/4567655817922566341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/4567655817922566341'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/keyboard.html' title='Keyboard'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-6690212068274374884</id><published>2009-02-13T15:36:00.002-02:00</published><updated>2009-02-13T15:55:48.157-02:00</updated><title type='text'>Mouse</title><content type='html'>Hey guys, here are some cool stuff you can do with your mouse on flash:&lt;br /&gt;&lt;br /&gt;-Changing the Mouse: In order to change the mouse ( you may have seen this in games), you should make the movie clip you want to be the mouse, and type this actions on it:&lt;br /&gt;&lt;br /&gt;onClipEvent (load) {&lt;br /&gt; startDrag(this, true);&lt;br /&gt; Mouse.hide();&lt;br /&gt; this.swapDepths(9999);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;it tells to make the movieclip to be "dragged" by the mouse, then it hides the mouse, and finally place it over everything else.&lt;br /&gt;&lt;br /&gt;- Tell the mouse coordinates: You can make a text box that tells you the mouse coordinates easily. Type this on the main timeline:&lt;br /&gt;&lt;br /&gt;watchMouse = new Object();&lt;br /&gt;watchMouse.onMouseMove = function() {&lt;br /&gt;        displayMouse_txt.text="The mouse X position is "+_xmouse+newline;&lt;br /&gt;        displayMouse_txt.text+="The mouse Y position is "+_ymouse;&lt;br /&gt;};&lt;br /&gt;Mouse.addListener(watchMouse);&lt;br /&gt;&lt;br /&gt;Now make a big dynamic text box and give it the instance name of "displayMouse_txt"&lt;br /&gt;That's it !&lt;br /&gt;&lt;br /&gt;Now watch an exampleof what you can do with what you learned on this post:&lt;br /&gt;&lt;br /&gt;&lt;object width="500" height="200"&gt;&lt;br /&gt;&lt;param value="mouse.swf" name="mouse"/&gt;&lt;br /&gt;&lt;embed width="500" src="http://luksfarris.googlegroups.com/web/mouse.swf?gda=exOdLDsAAAA2EJuGLvDuq34UvieHaRSpM6vGeV66UAhpMui5FQp5DP2KTe0z0VGotwB1MnqU7EEGRdr3QrylPkw2aRbXD_gF" height="200"&gt;&lt;br /&gt;&lt;/embed&gt;&lt;br /&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-6690212068274374884?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/6690212068274374884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/mouse.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/6690212068274374884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/6690212068274374884'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/mouse.html' title='Mouse'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-1963743933653591099</id><published>2009-02-13T15:23:00.004-02:00</published><updated>2009-02-13T15:36:06.659-02:00</updated><title type='text'>Variables - part 2</title><content type='html'>Hi !&lt;br /&gt;&lt;br /&gt;i had a lot of trouble with boolean variables, so i will teach you what i know so you don't get the problems i had.&lt;br /&gt;&lt;br /&gt;Well let's start. &lt;br /&gt;When stting a boolean variable, the classic way is: &lt;br /&gt;&lt;br /&gt;var __________:Boolean = true;&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;var __________:Boolean = false;&lt;br /&gt;&lt;br /&gt;and the easier way is:&lt;br /&gt;&lt;br /&gt;_______ = true;&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;_______ = false&lt;br /&gt;&lt;br /&gt;if you wanna change it, use this:&lt;br /&gt;&lt;br /&gt;if (__________________) {&lt;br /&gt;    _______ = true;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;if (__________________) {&lt;br /&gt;    _______ = false;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;all this should not be a problem. The problem is, when the boolean is the condition.&lt;br /&gt;Then, you have to use 2 equal signs. Like this example:&lt;br /&gt;&lt;br /&gt;if (dead == true) {&lt;br /&gt;    _root.gotoAndStop ("dead");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;get it ? - keep in mind that this also work for numbers, strings, and all kinds of variable. Also, when using numbers, you can type &gt; and &lt; signs:&lt;br /&gt;&lt;br /&gt;if (life &gt;=100) {&lt;br /&gt;    life = 100;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;hope it helps you&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-1963743933653591099?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/1963743933653591099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/variables.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/1963743933653591099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/1963743933653591099'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/variables.html' title='Variables - part 2'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-4366759602870554998</id><published>2009-02-12T22:27:00.002-02:00</published><updated>2009-02-12T23:13:28.367-02:00</updated><title type='text'>Achievements</title><content type='html'>well, since we are talking about games, id like to teach you something i saw on a flash game out there.&lt;br /&gt;It's an achievements window. Like, whenever the player do something cool, you show him a message. It's very easy, since we are gonna use a function for it. I will teach you one day how to make a function, in the mean time, copy and paste !&lt;br /&gt;&lt;br /&gt;ok, so on frame 1's actions, type this:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;function Achievement(achName, achDescript, achVariable) {&lt;br /&gt; if (achVariable == false) {&lt;br /&gt;  achBox.gotoAndPlay(2);&lt;br /&gt;  achBox.boxName.text = achName;&lt;br /&gt;  achBox.boxDescript.text = achDescript;&lt;br /&gt;  achVariable = true;&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;this is the magical function that will let us make achievements easily.&lt;br /&gt;but we still need a achievements box. Make a big rectangle, and 2 dynamic text boxes inside it. On one of them give it the INSTANCE name ( not var ) of boxName, and the other should be called boxDescript.&lt;br /&gt;&lt;br /&gt;Now, select the rectangle, and the 2 boxes and press F8, and select movieclip. Press ok and double click it, so we can edit it. Drag the first frame to the second slot, so that the first frame becomes blank. Type &lt;br /&gt;&lt;br /&gt;stop ();&lt;br /&gt;&lt;br /&gt;on this emty keyframe. Now go to frame 20 and press F5. Now all we gotta do is create an achievement. you will see how simple it is.&lt;br /&gt;First, create a variable, meaning that the achievement hasn't been completed yet.&lt;br /&gt;So type this on first frame's actions:&lt;br /&gt;&lt;br /&gt;butach = false;&lt;br /&gt;&lt;br /&gt;Create a button, and give it these actions:&lt;br /&gt;&lt;br /&gt;on (release) {&lt;br /&gt; _root.Achievement("wow", "you did it", _root.butach);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;now, you see the first quote ? that's the title. The second one is the description, and the third is the variable.&lt;br /&gt;cool right ?&lt;br /&gt;here is a simple example:&lt;br /&gt;&lt;br /&gt;&lt;object width="230" height="200"&gt;&lt;br /&gt;&lt;param value="achievements.swf" name="achievements"/&gt;&lt;br /&gt;&lt;embed width="230" src="http://luksfarris.googlegroups.com/web/achievements.swf?hl=en&amp;gda=mn2zBkIAAAA2EJuGLvDuq34UvieHaRSp6x0YjgG5mIilBNzw6SU9s68oz5ceTBFuZCcQr_Hu0m1V4u3aa4iAIyYQIqbG9naPgh6o8ccLBvP6Chud5KMzIQ" height="200"&gt;&lt;br /&gt;&lt;/embed&gt;&lt;br /&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-4366759602870554998?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/4366759602870554998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/achievements.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/4366759602870554998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/4366759602870554998'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/achievements.html' title='Achievements'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-3357894918481676756</id><published>2009-02-10T22:47:00.004-02:00</published><updated>2009-02-12T23:27:32.487-02:00</updated><title type='text'>timer</title><content type='html'>heeey, long time no see right ?!&lt;br /&gt;&lt;br /&gt;more than a week now. so i decided bringing yall something cool. a timer !!&lt;br /&gt;lets get to it.&lt;br /&gt;&lt;br /&gt;use the text tool to make a dynamic text box. and on the var field, type clock.&lt;br /&gt;&lt;br /&gt;than, on the main timeline, type these actions:&lt;br /&gt;&lt;br /&gt;clock = 0;&lt;br /&gt;timer = function () {&lt;br /&gt; clock += 1;&lt;br /&gt;};&lt;br /&gt;timeclock = setInterval(_root.timer, 1000);&lt;br /&gt;&lt;br /&gt;you see that code ? it says that every 1000 miliseconds ( 1 second ) the clock variable is gonna increase 1.&lt;br /&gt;what we did is creating a function that increases clock by 1. than the setInterval function did all the rest.&lt;br /&gt;try experimenting with those variables =]&lt;br /&gt;&lt;br /&gt;here is a fast timer i made:&lt;br /&gt;&lt;object width="160" height="100"&gt;&lt;br /&gt;&lt;param value="timer.swf" name="timer"/&gt;&lt;br /&gt;&lt;embed width="160" src="http://luksfarris.googlegroups.com/web/timer.swf?hl=en&amp;gda=wuQcqDsAAAA2EJuGLvDuq34UvieHaRSpTBVNEwSom_PdwSH51LrXhtDV8VA-tIFwOXsHwRQbccoGRdr3QrylPkw2aRbXD_gF" height="100"&gt;&lt;br /&gt;&lt;/embed&gt;&lt;br /&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-3357894918481676756?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/3357894918481676756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/timer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/3357894918481676756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/3357894918481676756'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/timer.html' title='timer'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-33556850618155060</id><published>2009-02-02T16:02:00.004-02:00</published><updated>2009-02-13T16:28:40.069-02:00</updated><title type='text'>February</title><content type='html'>Hello there,&lt;br /&gt;&lt;br /&gt;this month we will talk about cool tool you can make with flash to improve your game.&lt;br /&gt;&lt;br /&gt;i will start this section with a tutorial that i had prepared previously.&lt;br /&gt;&lt;br /&gt;it is at NG:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.newgrounds.com/portal/view/480708"&gt;Platform Universe&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;if you have any doubts with this tutorial, write me.&lt;br /&gt;&lt;br /&gt;Just for the record, i have better codes for a platformer game, but i made this a while ago, because i was pissed off w/ all the shit that is submitted on newgrounds. Someday i will make a decent platformer tutorial, right here !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-33556850618155060?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/33556850618155060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/february.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/33556850618155060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/33556850618155060'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/02/february.html' title='February'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-5736620394991837819</id><published>2009-01-27T20:49:00.004-02:00</published><updated>2009-01-27T21:48:14.438-02:00</updated><title type='text'>Animating Guide</title><content type='html'>ah, january is coming to an end... it was a good month wasn't it ?but it's not over so i will write a few more tutorials.&lt;br /&gt;&lt;br /&gt;so, i told you already how to make animations. But how do people do good animations ?&lt;br /&gt;there are lots of things to talk about so let's start.&lt;br /&gt;&lt;br /&gt;Making a good animation is hard. Remember that your animations success is a reflection of how people like it. So how do you make people like your animations ?&lt;br /&gt;You never know what every single person watching your movie likes, so you can't please them all. But you can make people recognize that your movie has something special. So that's our mission here. Making your movie special.&lt;br /&gt;It's a known fact that people that can draw, can make good animations. So practice your drawing skills for a while (i mean a few months, i used to do that at school).&lt;br /&gt;Also you have to know what kind of artist you are. Do you like making funny movies, serious movies, parodies, porn, whatever your speciality is, focus on it.&lt;br /&gt;Watch a couple of movies on the web, search the portals, see what  movies are top score. What do they have in common ? I can't answer that cause that's something that changes very often.&lt;br /&gt;So when you are ready, you can start planning your project. Write down a few stuff. You HAVE to know what will entertain people, and you gotta have the skills and the time to work on your movie.&lt;br /&gt;&lt;br /&gt;I read once about the 12 principles of animation,keep'em in mind. I will explain them poorly, but you should read more about them.&lt;br /&gt;&lt;br /&gt;1: remember to strech and squash things, in order to represent movement, you should change the shape of objects once in a while.&lt;br /&gt;2: you have to remember the timing of stuff, when something is falling, it falls faster and faster (gravity), also timing of characters reveal their characteristics.&lt;br /&gt;3:There is always a movement before an action. That's what we call anticipation. Your character should get prepared, before it performs an action.&lt;br /&gt;4: you have to make the person watching your movie pay atention only at what you wanna show him, so little flaws go unseen. usually people pay attention to things that move, or speak. We call this principle staging.&lt;br /&gt;5: Follow through is about terminating your actions, putting your char at a resting position.&lt;br /&gt;6: Straight Ahead Action is making your char action from one starting point.&lt;br /&gt;7: easing is also important. that makes the animation look more natural&lt;br /&gt;8: an arc is a representation of an animation that doesn't look "tweened".&lt;br /&gt;9: one of the most important is the principle of exageration. Make exagerated looks for a funny movie, exagerated kicks for an action movie for example.&lt;br /&gt;10: Every action has a reaction. Newton had to figure that out so you won't make a crappy movie. remember that.&lt;br /&gt;11: your characters must have appeal, something that will make people like them.&lt;br /&gt;12: once again, you must draw good, make real shapes and proportions.&lt;br /&gt;&lt;br /&gt;wow, even i can barely understand what i just wrote. you shouls really google this.&lt;br /&gt;&lt;br /&gt;Moving on. What should you movie be about? that's whare inpiration and creativity come in hand. Some people just don't have those. If that is you case, start making flash versions of good jokes. That should help you get started. Make movie spoofs, parodies and more stuff to practice. Than you can get serious. Put some violence in your movies...&lt;br /&gt;&lt;br /&gt;Once you have decided on a theme, make a storyboard, a plot. Something that tells everything that will happen in your movie.  Make an introduction, a climax an ending...&lt;br /&gt;&lt;br /&gt;When you are ready to start, draw firstly the outlines, just some scratches, so you know more or less what you are doing. Then, make the fills, choose the best collors and stuff. Later on, make the shading, and remember to make them nicely, on the opposite direction of you lights, of course.&lt;br /&gt;&lt;br /&gt;Getting bored: It WILL happen. One day you are just gonna wake up and realize you are bored with your movie, maybe because it's taking too long, or you had another idea. When this happens, take some days off, or start a new project.&lt;br /&gt;&lt;br /&gt;WARNING: I probably don't do all that i said up here, cause i am lazy, but i'm sure you can do better than me =]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-5736620394991837819?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/5736620394991837819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/animating-guide.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/5736620394991837819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/5736620394991837819'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/animating-guide.html' title='Animating Guide'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-8262672448251057054</id><published>2009-01-24T10:40:00.004-02:00</published><updated>2009-01-24T11:12:19.347-02:00</updated><title type='text'>Variables</title><content type='html'>Setting variables is VERY useful in games.&lt;br /&gt;There are many ways to add variables, and many variables that can be added.&lt;br /&gt;I will talk about Number, String, Boolean, Array&lt;br /&gt;&lt;br /&gt;So, lets say we are editing our movie clip actions, and we want to add variables. Remember when i talked about clipevent, and i said that variables should be added on LOAD? That's what we are going to do now:&lt;br /&gt;&lt;br /&gt;onClipEvent (load) {&lt;br /&gt;    var life:Number = 5;&lt;br /&gt;    var scorestring:String = '';&lt;br /&gt;    var dead:Boolean = false;&lt;br /&gt;    var bgarray:Array = (1,0,0,0,1);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;So in this code i set 4 different types of variables. lets talk about each one:&lt;br /&gt;&lt;br /&gt;Number: numbers are variables that you can increaase, or decrease with actions. for example:&lt;br /&gt;&lt;br /&gt;life -= 2;&lt;br /&gt;&lt;br /&gt;i just decreased life by 2.&lt;br /&gt;&lt;br /&gt;String: strings are lines, that you can edit, so usually you set it as blank ( '' ), and you add a string later on. For example:&lt;br /&gt;&lt;br /&gt;scorestring = 'flawless';&lt;br /&gt;&lt;br /&gt;now the scorestring is saying flawless.&lt;br /&gt;&lt;br /&gt;Boolean: boolean variables are true or false. Use it when something can either be true, or false. For example:&lt;br /&gt;&lt;br /&gt;if ( life &lt;=0 ) {&lt;br /&gt;    dead = true;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;what i am saying here is that if the number variable life is smaller or equal to 0, the boolean variable dead is no longer true, it is false.&lt;br /&gt;&lt;br /&gt;Array: Have you ever seen the matrix ? A matrix is a 2 level array, just for the record. arrays are complex, but very useful once you master them. &lt;br /&gt;Here is a 2 level array (matrix):&lt;br /&gt;&lt;br /&gt;map1 = [[1,1,1,1,1,1,1,1,1], &lt;br /&gt;[1,0,0,0,0,0,0,0,1], &lt;br /&gt;[1,0,0,0,0,0,0,0,1], &lt;br /&gt;[1,0,0,0,0,0,0,0,1], &lt;br /&gt;[1,0,0,0,2,0,0,0,1], &lt;br /&gt;[1,0,0,0,0,0,0,0,1], &lt;br /&gt;[1,0,0,0,0,0,0,0,1], &lt;br /&gt;[1,0,0,0,0,0,0,0,1], &lt;br /&gt;[1,1,1,1,1,1,1,1,1]];&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if you don't understand arrays, don't worry, when i start the tutorials, i will eventually make one with arrays and you will understand it =]&lt;br /&gt;&lt;br /&gt;OBS: i said there are many ways to add variables, but i showed you 1 way. sorry. Those variables could also be added like this:&lt;br /&gt;&lt;br /&gt;onClipEvent (load) {&lt;br /&gt;    life = 5;&lt;br /&gt;    scorestring = '';&lt;br /&gt;    dead = false;&lt;br /&gt;    bgarray = (1,0,0,0,1);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;i think this way is easier, but you can do both.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-8262672448251057054?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/8262672448251057054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/variables.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/8262672448251057054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/8262672448251057054'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/variables.html' title='Variables'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-7620977429212450461</id><published>2009-01-24T10:21:00.007-02:00</published><updated>2009-08-03T13:41:34.600-03:00</updated><title type='text'>Sound</title><content type='html'>Adding sounds to Flash isn't really hard. I'm gonna teach you 2 ways to do that, but in both, you have to have the song in the library. So go to FILE &gt;&gt; IMPORT &gt;&gt; select the song.&lt;br /&gt;&lt;br /&gt;1-) Adding a song manually: to do that, select a frame, and go to its properties panel. There you will see an option where it says sound. Click there and select your song. And that's it =]. Now you can add effects and sync.&lt;br /&gt;obs: I have had A LOT of problems when using this method, so i don't recommend it.&lt;br /&gt;&lt;br /&gt;2-) Adding a song with AS: This method is a little harder. Firstly, right click it (on the library) and press linkage, and on the linkage window, chack export for action script,set the identifier to "sound"(w/o the quotes) and press OK.&lt;br /&gt;Now, on the frame you want the sound to be, add this action:&lt;br /&gt;&lt;br /&gt;song = &lt;span style="color: rgb(0, 0, 153);"&gt;new Sound&lt;/span&gt;();&lt;br /&gt;song.&lt;span style="color: rgb(0, 0, 153);"&gt;attachSound&lt;/span&gt;("&lt;span style="color: rgb(51, 255, 51);"&gt;sound&lt;/span&gt;");&lt;br /&gt;song.&lt;span style="color: rgb(0, 0, 153);"&gt;start&lt;/span&gt;(0, 1);&lt;br /&gt;&lt;br /&gt;Explanation: on line 1 we set a new sound called "song" ( each new sound you add should have a different name, keep that in mind)&lt;br /&gt;On line 2, we are attaching the song "sound" to "song"&lt;br /&gt;&lt;br /&gt;and on line 3 we tell flash to start playing the song. On parenthesis, the number before the coma is the time it will be offset ( If you want the song to start playing on its 3rd second, this number should be 3), and the number after the coma is how many times the song will be played.&lt;br /&gt;&lt;br /&gt;TIP: Generally, the function for stopping sounds is:&lt;br /&gt;stopAllSounds ();&lt;br /&gt;&lt;br /&gt;PS: Each new song MUST have a new identifier.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Oh, 1 more thing. The best place to get songs is at the  &lt;a href="http://www.newgrounds.com/audio/"&gt;NG audio portal&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-7620977429212450461?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/7620977429212450461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/sound.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/7620977429212450461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/7620977429212450461'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/sound.html' title='Sound'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-3353440363294677202</id><published>2009-01-24T08:45:00.006-02:00</published><updated>2009-01-24T09:45:02.858-02:00</updated><title type='text'>Clipevent + Conditions</title><content type='html'>Hi, remember when we talked about functions for buttons ?&lt;br /&gt;Let's talk about some for movie clpis. Usually, if you are adding actions to a movie clip you always have to start with :&lt;br /&gt;&lt;br /&gt;onClipEvent (_____) {&lt;br /&gt;&lt;br /&gt;inside parenthesis you can type:&lt;br /&gt;load, unload, enterFrame, mouseDown, mouseMove, mouseUp, keyUp, keyDown, data&lt;br /&gt;&lt;br /&gt;well, the most important are load, and enterframe, but they all can be useful. I will now talk briefly about some of these =]&lt;br /&gt;&lt;br /&gt;you use load when you want the action to happen when the frame loads (this is good for setting variables)&lt;br /&gt;you use enterFrame when you want the actions to happen when the timeline reaches the frame the movieclip is in.&lt;br /&gt;mouseDown is used when you want something to happpen when you click the MC&lt;br /&gt;mouseMove refers to when you move the mouse inside the MC&lt;br /&gt;mouseUp refers to when you release your mouse after clicking on the MC&lt;br /&gt;keyUp refers to when you press specified key&lt;br /&gt;keyDown refers to when you let go specified key.&lt;br /&gt;&lt;br /&gt;don't worry, i will talk about unload and data later =]&lt;br /&gt;&lt;br /&gt;for now, let's talk about the structure of blocks of actions.&lt;br /&gt;everytime you open up a bracket, you have to close it. Same for parenthesis. If you have any experience with any other type of coding, you should know this. In HTML, if you open a tag, you have to close it .&lt;br /&gt;Take a look at this button's actions:&lt;br /&gt;&lt;br /&gt;on (press) {&lt;br /&gt;if (Key.isDown (Key.DOWN)) {&lt;br /&gt;_root.gotoAndPlay ("intro");&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;you can see that i have closed every single bracket and parenthesis that i opened.&lt;br /&gt;i know you are wondering about this code i showed you. Wanna learn ? Ok, let's talk about conditions =]&lt;br /&gt;there are many conditions but for now i will talk about if, else if, else, while.&lt;br /&gt;&lt;br /&gt;If is used when you want something to happen when specified condition is true. At the code i showed, when you press the button, it is only gonna go to the intro frame is the key DOWN (down arrow) is down. Pretty easy right ?&lt;br /&gt;&lt;br /&gt;else if, is used after you closed an if statement. So basically, when the if statement isn't true, you are giving it another condition, if it's true, flash will perform your actions. That was kind of hard, so i will give you a brief example:&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;if ( Dead=true ) {&lt;br /&gt;_root.gotoAndPlay ("dead");&lt;br /&gt;}&lt;br /&gt;else if ( Dead = false ) {&lt;br /&gt;_root.gotoAndPlay ("alive");&lt;br /&gt;}&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;Is it clear now ? if not, just write a comment.&lt;br /&gt;&lt;br /&gt;Else is also used after an if statement. But it doesn't give another condition, it gives an action to be performed if the if statement isn't true. As an example, take a look at the codes i just showed you for else if. It could also be written as :&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;if (Dead=true) {&lt;br /&gt;_root.gotoAndPlay ("dead");&lt;br /&gt;} else {&lt;br /&gt;_root.gotoAndPlay ("alive");&lt;br /&gt;}&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;Both codes mean the same thing. Since Dead can only be true or false, there is no need to use else if. It will work, but it is wrong. This code tells flash to go to frame "dead" if the condition ( dead = true ) is true. Else, it goes to frame "alive". you should understand that.&lt;br /&gt;&lt;br /&gt;using while is a little more complicated. uou used it when you want something to happen while a condition is true. So you will specify the condition you want to be true, and then you type what you want to happen. An example;&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;while ( dead = false ) {&lt;br /&gt;this._x += speed;&lt;br /&gt;}&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;that was easy right ? This code tells our MC to perform a code WHILE dead = false. =]&lt;br /&gt;&lt;br /&gt;Enough of conditions, if you need help, write a comment.&lt;br /&gt;&lt;br /&gt;Now i will talk more about action script. Well, you should know that flash is a vectorial program, so if you have had enough math classes you shoud know about the Y axis and the X axis. Here is an uggly example:&lt;br /&gt;&lt;br /&gt;Y axis&lt;br /&gt;^&lt;br /&gt;|&lt;br /&gt;|&lt;br /&gt;|&lt;br /&gt;|&lt;br /&gt;|&lt;br /&gt; --------------&gt; X axis&lt;br /&gt;&lt;br /&gt;i won't talk much about this now, but on the last code i wrote i said:&lt;br /&gt;&lt;br /&gt;this._x += speed;&lt;br /&gt;&lt;br /&gt;that means that the MC is going to the right at specified speed.&lt;br /&gt;Now why is it going to the right ?&lt;br /&gt;you see that += , that means the X value of the movie clip is going to increase.&lt;br /&gt;We are ADDING a number ("speed") to its X value.&lt;br /&gt;If we used -= , it would go to the left.&lt;br /&gt;if we used _y, it would go up.&lt;br /&gt;If we used _y and -=, it would go down.&lt;br /&gt;&lt;br /&gt;you can also say:&lt;br /&gt;this._x = 45 --&gt; that means the mc is going to position 45 of the X axis.&lt;br /&gt;&lt;br /&gt;I know this was a little hard, but when i start tutorials, it all will get as easy as hell.&lt;br /&gt;&lt;br /&gt;This is it for now, next time i will talk about variables.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-3353440363294677202?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/3353440363294677202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/more-functions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/3353440363294677202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/3353440363294677202'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/more-functions.html' title='Clipevent + Conditions'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-8058918630435551203</id><published>2009-01-21T10:43:00.006-02:00</published><updated>2009-01-22T09:38:12.287-02:00</updated><title type='text'>Filters</title><content type='html'>Hello !!&lt;br /&gt;Today, I am going to talk about filters. Filters are really easy to use, and they can add a cool effect to your flash. &lt;br /&gt;Filters can be applied to movie clips and buttons, and there are many kinds of filters. To add a filter, select your symbol, go to the filters panel, and press the Plus  ( ADD ) button. &lt;br /&gt;&lt;br /&gt;There is bevel, gradient bevel, glow, gradient glow, blur and adjust color.&lt;br /&gt;Each one has it´s own options and you can add more than one filter on 1 symbol.&lt;br /&gt;&lt;br /&gt;If you wish to see how they work check some of my previous post, and watch the movie. I put bevel on the buttons, glow on text, and blur on special effects.&lt;br /&gt;&lt;br /&gt;Now go try out the different effects you can get with filters !&lt;br /&gt;&lt;br /&gt;Tip: If the movie clip is an animation, every frame on the animation will get the effect.&lt;br /&gt;&lt;br /&gt;Reminder: I´m not sure, but i think filters won´t work on versions prior to flash 8&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-8058918630435551203?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/8058918630435551203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/filters.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/8058918630435551203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/8058918630435551203'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/filters.html' title='Filters'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-4302207475898514738</id><published>2009-01-19T16:45:00.006-02:00</published><updated>2009-01-19T17:34:22.648-02:00</updated><title type='text'>Stick Teleporter</title><content type='html'>Hi guys ! I was taking a time and made a stick movie.. you can make movie just like this one with what you've learned so far =]  , except for fillters ( ill talk about them)&lt;br /&gt;&lt;br /&gt;So, anyways, you can watch it at NG : &lt;a href="http://www.newgrounds.com/portal/view/479360"&gt;http://www.newgrounds.com/portal/view/479360&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;or, just watch it below:&lt;br /&gt;&lt;br /&gt;&lt;object width="550" height="400"&gt;&lt;br /&gt;&lt;param value="stick fight.swf" name="stick teleporter"/&gt;&lt;br /&gt;&lt;embed width="275" src="http://luksfarris.googlegroups.com/web/stick+fight.swf?hl=en&amp;gda=YU6_eEEAAAA2EJuGLvDuq34UvieHaRSpfjAyNArABLfQg5RQx-hVZiYyC8AJl9JqcI0EGqda4OpTCT_pCLcFTwcI3Sro5jAzlXFeCn-cdYleF-vtiGpWAA" height="200"&gt;&lt;br /&gt;&lt;/embed&gt;&lt;br /&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-4302207475898514738?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/4302207475898514738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/stick-teleporter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/4302207475898514738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/4302207475898514738'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/stick-teleporter.html' title='Stick Teleporter'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-8798406118294633359</id><published>2009-01-16T20:00:00.004-02:00</published><updated>2009-01-17T11:58:54.445-02:00</updated><title type='text'>Frame by Frame</title><content type='html'>now that you know most about tweening, let's talk about a different type of animation. The Frame-by-Frame animation (fbf). This animation has a quallity. It shows each artist's unique style, and unlike tween, it doesn't look artificial. Now, did you really learn how to use the onion skin ?&lt;br /&gt;&lt;br /&gt;I will teach you again. Press the onion skin button, just under the timeline. And on top of the Timeline, a marker is gonna show up. Drag the little dots to wich frame you wanna be able to see. And you will see all the frames you chose, but they will be transparent.&lt;br /&gt;&lt;br /&gt;Use the onion skin to draweach frame of your movie. To make it look better, make frames in between the ones you already made. &lt;br /&gt;&lt;br /&gt;Always remember that the rules of physics also work on your movie. So when something is on the air, make it go down, with a little acceleration. And when something hits the floor, make an easing, so your movie will look more realistic.&lt;br /&gt;&lt;br /&gt;Frame by frame is good for drawing special effects, like water splashing, explosions, and blood. Look at some examples:&lt;br /&gt;&lt;br /&gt;&lt;object width="200" height="100"&gt;&lt;br /&gt;&lt;param value="blood effects.swf" name="blood effects"/&gt;&lt;br /&gt;&lt;embed width="200" src="http://luksfarris.googlegroups.com/web/Blood+Effects.swf?hl=en&amp;gda=NYeRG0MAAAA2EJuGLvDuq34UvieHaRSpOHY3OYQgHeh-tHtCYblMrCsL8g0sBSAwoDNP79WI3vEytiJ-HdGYYcPi_09pl8N7FWLveOaWjzbYnpnkpmxcWg" height="100"&gt;&lt;br /&gt;&lt;/embed&gt;&lt;br /&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And always remember: if you are lazy (i am) you should change the frame rate to 12 fps. That way, you have to draw less frames ! Otherwise, you can leave it to 24, or even 30 fps.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-8798406118294633359?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/8798406118294633359/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/frame-by-frame.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/8798406118294633359'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/8798406118294633359'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/frame-by-frame.html' title='Frame by Frame'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-5114929618221716108</id><published>2009-01-15T21:26:00.003-02:00</published><updated>2009-01-15T21:43:23.016-02:00</updated><title type='text'>ON Function</title><content type='html'>hello there ! Had fun using tween ? I HIGHLY recomemmend you to get used to it, for it's the easiest way to make things move around. But now let's talk about actionscript. Remember the post &lt;a href="http://lf-flashstudios.blogspot.com/2009/01/symbols-part-2.html "&gt; Symbols - Part 2 &lt;/a&gt;? when we used AS for the first time ? well, we used the ON function to make the BUTTON take us where we wanted to be. So let's talk more about this function. It is used mostly for buttons, but you can use it with movieclips too. So on this functions you type : &lt;br /&gt;&lt;br /&gt;on (______) {&lt;br /&gt;    //condition;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;inside the parenthesis, there are many things you can put. Let's talk about them briefly:&lt;br /&gt;&lt;br /&gt;press: this is what you use when you want something to happen when you click the mouse over the hit area ( if it's a movieclip, there is no hit area, so it's just if you click on the movieclip)&lt;br /&gt;&lt;br /&gt;release: use this when you wantsomething to happen when you release the mouse button over the BUTTON ( or movieclip)&lt;br /&gt;&lt;br /&gt;releaseOutside: same thing as above, but when you release outside the symbol&lt;br /&gt;&lt;br /&gt;rollOver: when the mouse gets over the symbol&lt;br /&gt;&lt;br /&gt;rollOut: when you roll the mouse outside the symbol&lt;br /&gt;&lt;br /&gt;dragOver: when you drag something over this symbol&lt;br /&gt;&lt;br /&gt;dragOut: when you drag something out of this symbol&lt;br /&gt;&lt;br /&gt;keyPress _____________ : when you press specified key.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In case you are wondering, i AM gonna talk about DRAG and keyPress, but not now. Wait for it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-5114929618221716108?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/5114929618221716108/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/on-function.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/5114929618221716108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/5114929618221716108'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/on-function.html' title='ON Function'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-4772577588078355410</id><published>2009-01-15T18:48:00.009-02:00</published><updated>2009-01-17T22:49:14.862-02:00</updated><title type='text'>Tweening</title><content type='html'>Hi ! And today i will teach you about the automatic animation that we call tween. Have you ever used ImageReady ? it's the same principles... What the tween does is, when you draw the inicial and final stage of a movement, the tween will do the intermediate part, the rest. Ok, so let's try something easy. Remember the rectangle tool ? Click on it. Now press J for object drawing.&lt;br /&gt;&lt;br /&gt;//explanation: the object drawing option is useful when making animations with tween, because everything you draw will be automatically transformed into a Drawing Object, wich is like a symbol, but you can't animate inside it.&lt;br /&gt;&lt;br /&gt;Now draw your rectangle, go to frame 15 and press F6. On the 15th frame, move your rectangle to the right. Now select any frame between 1 and 14, and on the properties panel select TWEEN&gt;MOTION. &lt;br /&gt;&lt;br /&gt;//There are 2 types of tweens, Shape and Motion. Motion will move and/or reescale objects. And Shape will change their shape, color and more.&lt;br /&gt;&lt;br /&gt;Test your movie. You will see the rectangle moving ! That's easier then drawing each frame right ? Now try free reescaling it. Cool right ?&lt;br /&gt;Let's try some shape tween. Draw a circle (no need to use the object drawing if you don't want to). Now go to frame 15, press F6, and change it's shape dramatically. Now add a shape tween. You will see that it works good. But SOMETIMES (most times) shape tween cann get VERY CRAPPY. There is a little secret for it to work good. Do you wanna know? Let's learn with an exercise.&lt;br /&gt;&lt;br /&gt;Use the text tool to write the number 1. Use times new roman, size 100. Select it, and break it apart (CTRL+B). On frame 10, press F7 and write number 2 on the same place, with same font and size. Add a shape tween and test your movie. Wasn't that crappy ? So we are gonna add Shape Hints. To do it, press CTRL+SHIFT+H, or go to MODIFY &gt; SHAPE &gt; ADD SHAPE HINT. A little red A will appear on both numbers. Now place it (by dragging it) on the top right corner of the number 1. Do the same with number 2. Now the hint should get GREEN for number 2, and yellow for number 1. Now repeat this process ( changing the spot) until you are satisfied with the results.&lt;br /&gt;Here's mine:&lt;br /&gt;&lt;br /&gt;&lt;object width="150" height="150"&gt;&lt;br /&gt;&lt;param value="Untitled-1(2).swf" name="hint tween"/&gt;&lt;br /&gt;&lt;embed width="150" src="http://luksfarris.googlegroups.com/web/Shape+Hint.swf?hl=en&amp;gda=Kyk2Z0AAAAA2EJuGLvDuq34UvieHaRSptyLpRfiomWS1riUjV15GQ-dtD6vR5QJdyrsWNQ9JYUNtxVPdW1gYotyj7-X7wDON" height="150"&gt;&lt;br /&gt;&lt;/embed&gt;&lt;br /&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;oh, one more thing for this post to be over. you see what i just did above? 2 tweens at the same time ? they are only working because each one is on a DIFFERENT LAYER, and the bar in the middle and the text are on another different layer. If everything was in the same layer, it would get really messy, because the tween would envolve everything. So when making a movie, make 1 layer for EACH character, 1 for the background, 1 for each object...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-4772577588078355410?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/4772577588078355410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/tweening.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/4772577588078355410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/4772577588078355410'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/tweening.html' title='Tweening'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-6434575520312764618</id><published>2009-01-13T21:33:00.015-02:00</published><updated>2009-02-16T22:07:24.246-03:00</updated><title type='text'>Quick Guides</title><content type='html'>Here is a series of quick guides for you :&lt;br /&gt;&lt;br /&gt;Importing: to import an image, or a song, for example, press FILE &gt; IMPORT &gt; TO LIBRARY.&lt;br /&gt; &lt;br /&gt;-Library: Well the library is where all media you used on your project is stored. Keeping your library organized is rather important. on the library you will see all the symbols you made, all the graphics, all sound, all images, and more. To get something from the library to stage, just drag it. To give a LINKAGE NAME to a symbol, right click it (on the library), and press LINKAGE. Check "export for action script" and that's it !&lt;br /&gt;Also, the short cut for the library is F11.&lt;br /&gt;&lt;br /&gt;-Colors: Now lets talk about the color panel. It shows outlines and fill colors, it gives you many options, like making gradients, changing alpha, and mixing colors.&lt;br /&gt;&lt;br /&gt;-Breaking symbols apart: When you made something a symbol and you don't want it to be a symbol anymore, press CTRL+B. You can also do that for imported images so you can change them.&lt;br /&gt;&lt;br /&gt;-Registration Point: it is that little + thing when you create a symbol. when it's important, i will tell you where we want it to be, but for now, just leave it where it is (top-left corner).&lt;br /&gt;&lt;br /&gt;-Motion Guide: I said i would talk about that on the timeline post... Ok, a motion guide is used to make a movie clip go through a path. So draw a circle, convert it and press the motion guide button. A guide layer will show up. That's where you draw the path in wich the movie clip will go ( a simple line will do for now ). Now go to frame 15, and press F6 on both layers. On frame 15, place the circle at the end of the line you just drew. Now select any frame on the circle's layer (except frame 15) and make a motion tween).Test your movie. The circle should be following the line ( although you can't see it).&lt;br /&gt;&lt;object width="100" height="100"&gt;&lt;br /&gt;&lt;param value="guide tween.swf" name="motion guide"/&gt;&lt;br /&gt;&lt;embed width="100" src="http://luksfarris.googlegroups.com/web/guide+tween.swf?hl=pt-BR&amp;gda=yftA90EAAAA2EJuGLvDuq34UvieHaRSpqVc9EgXKk07Yuk8iEJwvzxBsoB2wLcGdY4FzTXlSSoZTCT_pCLcFTwcI3Sro5jAzlXFeCn-cdYleF-vtiGpWAA" height="100"&gt;&lt;br /&gt;&lt;/embed&gt;&lt;br /&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;-Masks: you probably (or not) have already heard about masks. Lets make one right now. Draw a rectangle, and on the layer you just drew, double click the icon left of the layer name (a little paper). Than change its type to MASK. Now make a new layer , drag it under the the mask layer, and click the little paper next to this layer's name, and change it to MASKED. Now all you gotta do is draw anything on the layer you just created. Draw like a big'o'stick. Test your movie. You will see that only the part of the drawing inside the rectangle is showing. that's what we call a mask ! It gets pretty cool when you tween the mask. Look at what i did:&lt;br /&gt;&lt;br /&gt;&lt;object width="100" height="100"&gt;&lt;br /&gt;&lt;param value="mask.swf" name="mask"/&gt;&lt;br /&gt;&lt;embed width="100" src="http://luksfarris.googlegroups.com/web/mask.swf?hl=pt-BR&amp;gda=YQxDBDoAAAA2EJuGLvDuq34UvieHaRSpqNmduFi1OX97kAMbsItdgt8TdzXlUtrEEb0zXzD-md797daDQaep90o7AOpSKHW0" height="100"&gt;&lt;br /&gt;&lt;/embed&gt;&lt;br /&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Different Types of Text: There are 3 types of text boxes, static, dynamic, and imput. Static is nothing special, it's just regular text. Dynamic is used for variables, so you can change it's instance and var in order to display your variables. Imput allows the player to interact with the text, it can be copied, and even changed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-6434575520312764618?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/6434575520312764618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/quick-guides.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/6434575520312764618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/6434575520312764618'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/quick-guides.html' title='Quick Guides'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-6956867654372387245</id><published>2009-01-13T20:36:00.009-02:00</published><updated>2009-01-13T22:42:20.992-02:00</updated><title type='text'>Symbols - Part 2</title><content type='html'>Did you make a good stick movie ? hope so. Any doubts right me a comment !&lt;br /&gt;&lt;br /&gt;Lets move on with the lessons. We will now talk about buttons. I left the buttons for last because i am gonna teach you the Action Script for it ! Yay, now you will learn AS ( action script ) !!!&lt;br /&gt;But before that, i have to talk about buttons. This type of symbol lets you perform an action everytime the mouse interact with the button. You can make buttons out of movieclips, but it's just stupid. I will teach you all about buttons with a lesson. So lets start.&lt;br /&gt;draw a rectangle. Select it, and press F8, to convert it to a button. Inside the button you will see 4 frames. Up, Over, Down, and Hit. Up is what it shows when the mouse is NOT OVER the hit area. Over is when the mouse is over the hit area, Down is when you are clicking the hit area, and Hit is the hit area.&lt;br /&gt;So when you convert your rectangle to a button, only the up frame is filled. press F6 until all frames are filled. Go to the over frame, and change the color. Do the same for the down frame. Test your movie. You will see that when your mouse is over the button, it changes, and when you click it, it changes again ! Cool right ?&lt;br /&gt;&lt;br /&gt;But nothing actualy happens.. That is because there are no actions on it. On the inferior part of the window you should see the actions pannel, if you don't, just press F9. Each timeline and symbol can have it's own actions ( there are few exceptions, as i mentioned previously). So on the 1st frame of the main timeline paste this action:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#000066;"&gt;stop();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;this action stop your movie, so it won't keep playing. Now make a new blank keyframe on the second frame, and type the STOP action again. Then write something like "second frame" on the stage on the second frame (use the text tool). What you have now, is a timeline with 2 frames, and a button on the first one. Select the button, and open the actions pannel. Now type:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#000099;"&gt;on&lt;/span&gt; (&lt;span style="color:#000099;"&gt;release&lt;/span&gt;) {&lt;br /&gt;&lt;span style="color:#000099;"&gt;_root.gotoAndStop&lt;/span&gt; (2);&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;what this does is: when you release the button, the main timeline (root) will go to the second frame and stop. the number inside the parenthesis can either be the number of the frame you want to go to, or either the label of the frame you wanna go. lets try with a label ?&lt;br /&gt;Label the first frame "main" (without the quotes). Now copy the button on the first frame and paste it on the second frame. Open up the actions for the button on the second frame, and delete everything. Now paste these actions there:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#000099;"&gt;on&lt;/span&gt; (&lt;span style="color:#000099;"&gt;release&lt;/span&gt;) {&lt;br /&gt;&lt;span style="color:#000099;"&gt;_root.gotoAndStop&lt;/span&gt; (&lt;span style="color:#33ff33;"&gt;"main"&lt;/span&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Test your movie, when you click the button on the 1st frame, the timeline goes to the second frame, and when you click the button on the second frame, it goes back to the 1st button. Pretty easy right ?!&lt;br /&gt;&lt;br /&gt;That's it for buttons for now. Learn these actions by heart, for you will use them A LOT. Try making what we just did with mu;tiple frames. good luck. See you next time !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-6956867654372387245?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/6956867654372387245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/symbols-part-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/6956867654372387245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/6956867654372387245'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/symbols-part-2.html' title='Symbols - Part 2'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-5775948454667107863</id><published>2009-01-13T10:21:00.004-02:00</published><updated>2009-01-13T21:14:35.668-02:00</updated><title type='text'>Symbols - Part 1</title><content type='html'>*I forgot to say something on the timeline thing. Giving names is very important to keep things organized. Naming your layers is good, but the most important thing is naming your frames. When you click on a frame, you will see on the actions pannel a field where it says FRAME LABEL. That's where the frame name goes.&lt;br /&gt;&lt;br /&gt;Now, lets talk about symbols. When you are making animations, symbols are very important. To turn a drawing into a symbol, press F8. A window will pop up and you will see that there is a field for you to name your symbol, and there are 3 kinds of symbols.&lt;br /&gt;&lt;br /&gt;MOVIE CLIP: A Movie Clip ( MC ) is like a whole new movie. When you double click a movieclip you will see  that it has its own timeline. Pretty cool right ? So if you have a movie clip with 100 drawings inside it, you can place it on the 1st frame and you will just have used 1 frame of the main timeline. Let me make it clear for you. A movie clip is a symbol that has a movie inside it. The movie inside it can either be a loop, a whole movie, just 1 image, or anything you can come up with. To get used to them, try making multiple mc's inside each other. Like, the whole body is a mc, inside it there is the head mc, inside it the eye mc, inside it the pupil mc, and i will let you imagine the rest.&lt;br /&gt;*Edit/Tip: If you have 2 of the same symbols, and you change one, the other one is gonna change too. So be careful with that, and remember that to undo something, just press CTRL+Z. Also, on the properties pannel for movieclips, you will see a field called INSTANCE NAME. THIS IS VERY IMPORTANT. WHEN I TELL YOU TO GIVE SOMETHING AN INSTANCE NAME, YOU HAVE TO WRITE ON THAT FIELD !!!!&lt;br /&gt;&lt;br /&gt;GRAPHIC: This one is just like a movie clip, except it will ONLY play when the main timeline is playing, and you can't change it with actions. When you are making a movie, it is better to use graphics, rather that movie clips.&lt;br /&gt;&lt;br /&gt;I'm not sure I am making my points here, so now i'm gonna make some explanations.&lt;br /&gt;It's time to WORK !! Open up FLASH. If you don't have it, either get it, or download a trial at adobe.com .  Ok, we are gonna make a stick movie. Why sticks ? Because they don't require any drawing skills. Ok, to make a stick movie we will use the pencil tool, and the onion skin ( i talked about those). It is very important that you often save your project, cause flash sometimes bugs, and all unsaved things are gone. Also if you screw up with the pencil, press CTRL + Z to undo an action. Also, that big white rectangle is what we call STAGE, so when i say stage, i mean that big white rectangle. We are gonna make a stick walking (or running). Do you know what sprites are ? when you were a kid playing SUPER MARIO, you didn't realize,but all those mario moves were just a couple of sprites. So we are gonna draw some sprites. Firstly, draw the stick with its legs wide open, and select the whole thing and convert it to a MOVIECLIP. Inside the movieclip make a new blank keyframe on the second frame ( F7, do you remember ?). Turn the onion skin on, and based on what you see from the previous frame draw the next step. Pretty easy right ? When you see you got a good loop ( a loop is a movie where the first frame can be the next frame of the last frame) just press CTRL+ENTER to preview your movie !!&lt;br /&gt;Here is a sample, try making something like this:&lt;br /&gt;&lt;br /&gt;&lt;object width="100" height="100"&gt;&lt;br /&gt;&lt;param value="stick running.swf" name="stick running"/&gt;&lt;br /&gt;&lt;embed width="100" src="http://luksfarris.googlegroups.com/web/stick+running.swf?hl=pt-BR&amp;gda=SIJa40YAAAA2EJuGLvDuq34UvieHaRSpiJ90hNrq2D1s1ooNXMhg0JbQ4CuTRNdJivabhjzKvBkytiJ-HdGYYcPi_09pl8N7vfIMBHWMPCFEo6rEBANEIQ" height="100"&gt;&lt;br /&gt;&lt;/embed&gt;&lt;br /&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-5775948454667107863?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/5775948454667107863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/symbols-part-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/5775948454667107863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/5775948454667107863'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/symbols-part-1.html' title='Symbols - Part 1'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-3463739658161224638</id><published>2009-01-12T20:51:00.003-02:00</published><updated>2009-01-13T22:10:21.659-02:00</updated><title type='text'>The Timeline</title><content type='html'>*Before you start this, be sure you have enough experience with the tools, try making complex drawings, if you  can't, draw something pretty =]&lt;br /&gt;&lt;br /&gt;The TIMELINE is the 2nd most important thing in Flash. That's the difference between flash and a drawing program. Unnderstanding the timeline is the 2nd most important thing to learn. Ok, if you've never seen a timeline before, better get used to it. It flows to the right, so left is past, and right is future. easy right. You will see there are numbers on it, like a ruler or something. those numbers refer to the frames. So each little square is a frame, and each frame has its number. Also, on the very left of the timeline, you will see the layers. layers are independent from one another. Each layer can ( and should ) be used to draw a different part of your animation. Example: if you draw a background and you want your character to go from one side to the other, you WILL make a new layer for him. In order to make a new layer, you have to press that little button on the left inferior corner, it's like a paper with a plus sign. Next to it is the motion guide button ( we will talk about that ) and next is the insert layer folder (to keep layers organized). The little trash is used to delete a layer. On right of the frame, you will see a pencil (indicates the frame you are on) a little dot ( click it to turn the layer invisible), another dot (click it to lock the layer) and a square (click it to show layer outlines). Back to the timeline now. when you open up a new document there is only gonna be an empty frame there ( you know its empty cause the circle is empty inside, when there is a little "a" on top of the layer it's because there are actions on it).If you want to create a new empty frame anywhere on the timeline, click on the place you want it to be and press F7. If you want the frame you clicked on to be just like the previous frame, press F6. Oh, i forgot. There are basically 2 types of frames. there are ordinary frames and KEY-FRAMES. These last ones are the ones created when you press F6 or F7. to create ordinary frames just press F5. To relocate a frame, select it by clicking it, that click it again and drag to where you want it to be. To select multiple frames, click anywhere and drag the mouse to the last frame you want to be selected. Under the timeline you will see many buttons, the first one is Center Frame ( never used it before ). Than you have onion skin ( very good for animating frame-by-frame, it shows the selected frame, before and/or after the one you are at, but we will talk about that later on), than you have onion outlines, wich is the same thing as onion skin, but with outlines. Than you have edit multiple frames, when you press it you draw on all the selected frames at the same time. Than modify layer markers, wich you wont need, than a number telling you in wich frame you are on, than the frame rate of your movie ( every animation has a frame rate, it is mesured is frames per second, and it determines the number of frames displayed each second, i recommend 24). Than you have the time elapsed.&lt;br /&gt;&lt;br /&gt;That is it for timelines for now, but i will talk about them a lot yet. your homework now is to get used to it. try drawing with different layers, and remember that each keyframe can hold a hole new drawing, or the following part of the previus keyframe. Hey, that's what animation is all about. Next time we will talk about symbols !&lt;br /&gt;&lt;br /&gt;EDIT: I forgot to tell you about the layer options. You see that paper icon left from the layer name ? double click it. you will see many options, that i will gladly explain later on !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-3463739658161224638?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/3463739658161224638/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/timeline.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/3463739658161224638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/3463739658161224638'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/timeline.html' title='The Timeline'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-9109493255055509489</id><published>2009-01-10T20:15:00.004-02:00</published><updated>2009-01-10T20:31:47.177-02:00</updated><title type='text'>Tools - Part 2</title><content type='html'>9. Oval Tool (O): This tool is used when you want to draw circles. Hold SHIFT for perfect ones. They will be drawn with outlines, if you don't want them, turn'em off on the color panel.&lt;br /&gt;&lt;br /&gt;10. Rectangle Tool (R) / Polystar Tool : Draw rectangles ( hold shift for squares; you can select the corner radius if you want ( good thing for buttons, for example )) , polygons ( select the number of faces by clicking options ) and stars (select the number of points by clicking options ).&lt;br /&gt;&lt;br /&gt;11.Pencil Tool (Y) : Free hand outlines drawing tool. Pretty much it...&lt;br /&gt;&lt;br /&gt;12.Brush Tool (B) : Free hand fill drawing tool. Has many options like several sizes, brushes, and you can even draw inside selections, behind stuff, and a lot more that i will let you find out alone.&lt;br /&gt;&lt;br /&gt;13. Ink Bottle Tool (S): I have NEVER used this tool before, so you won't need it.&lt;br /&gt;&lt;br /&gt;14. Paint Bucket (K) : paint fills inside outlines.&lt;br /&gt;&lt;br /&gt;15. EyeDropper Tool (I) : Use it to select a color from anything on stage.&lt;br /&gt;&lt;br /&gt;16. Eraser (E): I think you know what it does. But it has many options, so you can delete outline,fills, blah blah blah...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-9109493255055509489?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/9109493255055509489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/tools-part-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/9109493255055509489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/9109493255055509489'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/tools-part-2.html' title='Tools - Part 2'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-2809795488667169484</id><published>2009-01-10T19:46:00.006-02:00</published><updated>2009-01-10T20:06:22.547-02:00</updated><title type='text'>Tools - Part 1</title><content type='html'>Well, first tutorial, let's talk about tools. open up flesh if you haven't.&lt;br /&gt;1. Selection Tool (V) : this tool is used to select anything on the stage. If something is not selected, you can click on its edge and change it as you want (unless it is a symbol ( we will talk about that )).&lt;br /&gt;&lt;br /&gt;2.Subselection Tool (A) : Well, this one is  little more advanded. If you have ever had experience with Adobe Illustrator, you will feel confortable with this tool. When you click on a drawing using this tool, you get to see lots of guide points, that should make optimizing your drawing easier. you can drag the guide points on your will to change the drawing you made.&lt;br /&gt;&lt;br /&gt;3.Free Transform Tool (Q) : Reescale anything, and if you hold CTRL, you get trapezoids.&lt;br /&gt;&lt;br /&gt;4.Gradient Transform Tool (F): I'm still gonna talk about gradients, but this tool lets you transform it as you want, it's pretty cool when you transform radial gradients..&lt;br /&gt;&lt;br /&gt;5. Line Tool (N): Draw lines with different strokes. (TIP : try holding SHIFT and see what happens).&lt;br /&gt;&lt;br /&gt;6. Lasso Tool (L) : If you are using it's regular form, its like a free-hand selection tool, but it also can be a magic wand (Also seen on adobe photoshop, select stuff with the same color), and a polygon lasso tool ( NOT RECOMMENDED FOR BEGGINERS, you will get stuck with this tool !!! )&lt;br /&gt;&lt;br /&gt;7. Pen Tool (P): This one lets you draw with those guide points we talked about.&lt;br /&gt;&lt;br /&gt;8. Text Tool (T) : Write texts, on the options pannel you can see many weird options, we will talk about that later on !&lt;br /&gt;&lt;br /&gt;That's it for part 1. Part 2 will come out soon !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-2809795488667169484?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/2809795488667169484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/tools-part-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/2809795488667169484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/2809795488667169484'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/tools-part-1.html' title='Tools - Part 1'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5318076912516599768.post-7661004295573833882</id><published>2009-01-09T17:48:00.010-02:00</published><updated>2009-02-17T11:11:05.871-03:00</updated><title type='text'>Intro/help/contact</title><content type='html'>well, since this is the first post, i will talk about this blog...&lt;br /&gt;in here i will write tutorials about Adobe Flash, so YOU can be a programmer too =]&lt;br /&gt;&lt;br /&gt;i am sorry for any english mistakes, and if i offend you. i am just trying to help. when i am talking about something, and i say i don't use it, most times i don't know how to use it. if you use it and you feel like everyone else should, add a comment to my post, and i will be grateful to change the post.&lt;br /&gt;&lt;br /&gt;There are almost no rules for comments.. i will only delete things off topic&lt;br /&gt;&lt;br /&gt;If you are looking for a specific topic, search the archive. If you wanna learn something i didn't talk about, or anything else, send me an email at:&lt;br /&gt;&lt;br /&gt;luksfarris@gmail.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5318076912516599768-7661004295573833882?l=lucasfarris.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucasfarris.blogspot.com/feeds/7661004295573833882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/introduction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/7661004295573833882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5318076912516599768/posts/default/7661004295573833882'/><link rel='alternate' type='text/html' href='http://lucasfarris.blogspot.com/2009/01/introduction.html' title='Intro/help/contact'/><author><name>Luks Farris</name><uri>http://www.blogger.com/profile/15201453701219763438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
