Search the Community
Showing results for tags 'flash'.
Found 3 results
-
In this short tutorial I'm going to show you a very basic flash animation of a fan, just in 3 lines. Assumed knowledge: Familiarity with Flash Professional interface and drawing tools 1- Open Flash Professional 2- Click File>New and select Flash File (ActionScript 3.0) 3- Use the drawing tools (brush or oval) to draw a fan shape 4- Select the shape you just drew and hit F8 to convert it to a movieclip, give it a name and make sure the registeration point is in the center, click OK 5- After clicking OK, the the movieclip you created needs an instance name. Select it and click PROPERTIES or hit Ctrl+F3 to open the properties window. Give it a name "fan" Now for the code. 6- Select the first frame and open the ACTIONS window by hitting F9 7- in the actions window type the following (notice the comments on the code after a //:) //This line means: every time the movieclip enter frame event hapens the function "rotatefan" runs fan.addEventListener(Event.ENTER_FRAME, rotateFan); function rotateFan(e:Event):void{ //This line means rotating the fan around the registeration point(center in our case) 3 degrees clockwise fan.rotation += 3; } //end of code 8- Save your fla and hit Ctrl+Enter to run compike and run. Note: You could change the speed by increasing the rotation value. The compiled swf could be found here The source fla could be found here I hope that helps introducing a beginner to flash actionscript animation Comments are most welcome
-
Hi all,I would like to implement image tranition in my local website, which will be good when consider the loading speed, implementing the javascript function or to create an flash swf in the website?.Swf requires the adobe flash player in the client system. Please reply.Regards,TInoy
- 4 replies
-
- javascript
- swf
-
(and 2 more)
Tagged with:
-
Its been a really long time since I played any flash games (Responsibilities can do that to you >_< ) but when I bumped into another topic discussing favorite flash website, I HAD to create this topic in remeniscence of all the flash games I have excessively played and completed... Burrito Bison Revenge, if you like squishing gummy bears with the help of a catapult and other goodies, you are gonna love this one Amateur Surgeon series, because we all like playing doctor with a lighter and a stapler Robot Unicorn Attack :- The sheer mindlessness of both song & game is strangely hypnotizing. Bible Attack :- For once, the computer actually kicks booty. Hemp Tycoon :- Same old farmvillish game but in this dimension, instead of veggies, fruits & flowers you grow WEED! This is the only level :- If any of you have played "The Idiot Test" http://www.addictinggames.com/funny-games/theidiottest.jsp and liked it, you will most definitely LOVE this one. LEARN TO FLY :- Who doesn't want to help this cute little penguin learn to fly http://www.addictinggames.com/action-games/index.jsp I don't remeber the name but this bridge building game where mario lookalikes need your help in transporting boxes.. I must admit, I have built shoddy bridges just so that I could hear their little funny shrieks Games from http://www.adultswim.ca/ , Maxgames.com & addictinggames.com Not included in this list but one of my favorites :- stick figures killing stick figures, stick figures doing gymnastics(addicting games), stacking games This amazing physics game where you rotate the room in order to get the object from one place to another. Some random water scooter racing game.. You pick goodies as you ride that include bombs, missiles & tear gas I think. I think it is time for me to enter gamer rehab