First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing! | Flash Jobs
Search tutorials
Author: jay w. friedman

part two - sowing the seeds:

the first step here is to set up the document properties (movie properties if you're not using MX yet.) for the purpose of this tutorial, set your dimensions to 600 by 200. choose a background color that you like, and set the fps to at least 30.

next up is creating our assets. all we really need are two movie clips - our moving object and a movie clip that will be our "button" (i'm going to use a movie clip instead of a button, more on this later...)

for the moving object, create a simple image. make sure you can tell if it is rotating (that means no solid circles, duh), and convert it to a symbol (f8). make sure to choose "movie clip" for behaviour.

for our button object, just draw a box and hit f8 to convert it to a symbol. like the moving object, choose "movie clip" for its behavior. "but WAIT," you're probably thinking, "this is a button! why shouldn't its behavior be set as button?" two reasons - buttons bring up that annoying finger cursor that makes me want to murder people, and... well... that's really it. but it can't hurt to learn how to turn a movie clip into a button anyways.

position the button wherever on the screen you like, and drag your moving object off the viewable area of the screen. give the moving object an instance name of "ball." you can put these two movie clips on their own layers if you're so inclined, but it's not particularly necessary.

whew. tough work, but we're done. now here comes the rough stuff. code.

» Level Intermediate

Added: 2002-06-24
Rating: 9 Votes: 87
(10 being the highest)
» Author
just some kid from florida who loves interactivity. i teach director labs and work with flash in my spare time, when i'm not rocking out in some foreign land. air guitar champion of the world.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!

Comments

  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: work2survive
» Title: Girl Walking 1kb
» Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.