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
  • PrintPrint
Share this Page URL
Help

3D LINES AND FILLS > Creating 3D fills

Creating 3D fills

As you might imagine, a large part of the work for fills has already been done. You've already created the points for a shape and connected them from one end to the other with a line. All you really need to do is add a beginFill and endFill to the drawing code. The code in the FilledE.as file does just that; see Figure 16-7 for the results. Here's the relevant section of code with the changes in bold:

First 3D fills



  

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
  • PrintPrint