Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Animating with code

OK, you should now understand enough of the basics to get started coding in AS 3. Assuming you have chosen a development environment, you are ready to get going. Let's dive in to some ActionScripted animation.

Looping

Almost all coded animation contains some kind of loop. If you think about a frame-by-frame animation, you might come up with a flowchart that would be something like a series of bitmaps, where each frame is already an image and just needs to be shown, as shown in Figure 2-3.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint