Internet Commerce

Partners & Affiliates

Developer Channel


Featured Flash FLA
Gallery Downloads 11401 Flash Movies | 5 New Flash Movies Added
What's New | Top 100

Featured FLA

»  Author: Nick Kouvaris
»  Title: Znax
»  Description: Znax is a board game. Click 4 tiles of the same color and form squares as big as you can. You will erase all the tiles inside the square and collect points. Get maximum score if you make a square with game edges.
»  More by: Nick Kouvaris


Random FLAs | Add Flash Movie
Featured Flash Site
Gallery Downloads 4941 Flash Sites | 1 New Flash Links
What's New | Top 100 Flash Site

Featured Site

»  Author Agence WOP Digital Agency
»  Title: Electricdrum
»  Description: French WOP Agency, 3D websites, Flash (Papervision, Away 3D), event or institutional projects. The agency operates on all digital projects: consulting, design, graphic design, development, online communication. The WOP agency follows you on the implementation of original, creative and optimized digital projects.


Random Links | Add your own Flash Related Links
Flash Tutorials 1481 Tutorials 7 New Tutorials Added!
What's New | Top100

» How To Make A Simple Animation Using Christmas Clips
» Simple Step by step flash game tutorial Spot the diffrence
» How To Make A Moving Text Slide
» Create Flash Banner With Text Float Effect
» How To Make Zoo Photos Slideshow
» How To Make A Dolphin Photos Slideshow
» How To Make A Fathers Day Slideshow
» How To Make A Transparent Background of Your Flash File
» Create Flash Banner With Text Disco Light Effect Today we will introduce you a Text Disco Light eff
» Unknown Tag: Title10
Random Tutorial | Add Site


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Actionscripting

Categories smooth-moving analog clock
Author: luco | Website: http://www.luco.com.br |

 
Page 2
«prev 1 2 3 4 next»

[setup]

first we need to get some pieces together. define your movie size and fps. I recommend some square size like 200x200px. yeah, I'm square. plus make it 24FPS for optimal optical illusion of movement. yeah, animation is some kind of optical illusion. you didn't know that? well... on layer 1, define a new symbol (ctrl+f8). since we're out to make a clock, let's call it "clock", shall we? oh, and define it as a movieclip. once in the symbol-editting area, draw a circle exactly in the middle, any size you want, and mark the numbers for the hours, unless you want a clean-looking display. for a really clean look, don't draw a circle. that's a Gestalt lesson: "less is more". more confusing, that is. THEN, make another layer for each hand. why is that? don't know, just paranoid organisation. it'll come in handy if you need to make careful adjustements, but again it's not required. it can also help you to define which hand is on top of which, if you're this keen on details. on each layer, draw a line of any size, color and thickness. just remember - the seconds hand is the longest one. and the hours hand is the shortest. unless you're some Gestalt freak. just make them vertical, growing from the center of the symbol (that crosshair in the middle).
now this is important. each hand must be a named movieclip instance for this to work. f8 to define each one as a symbol. I called mine "big hand", "medium hand" and "sizeally challenged hand" for an easy, politically correct reference. the only thing is - hands must be vertical, growing from the center. that means they have their center-marking crosshairs on their, uhm, "feet". that goes for you Gestalt guys too.
then, call the instances "hrs", "min" and "sec" for hour, minute and second display. what, I'm funny but not dumb. by the way, are we keeping up with the tute still? if not, you need to be more sincere to yourself, cuz I warned you it envolved "basic skills for symbol creation" didn't I? anyway! it's time to code. to the CodeMobile (tm)!

«prev 1 2 3 4 next»

» Level Intermediate

Added: : 2003-12-28
Rating: 5.85 Votes: 21
Hits: 1230
» Author
Brazillian advertiser-webdesigner hybrid. likz art, heavy, grooved electro-music + Brazillian rythms. plays capoeira. enjoys comedies, but when watches drama cries like a baby. that's it!
» Download
Download the files used in this tutorial.
Download (10 kb)
Get conversion and unzipping tools for PC and Mac here!

» Forums
More help? Search our boards for quick answers!

Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments