• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 16. Scripting for Sound > DRAGGING A MOVIE CLIP INSTANCE WITHIN A BOUND...

DRAGGING A MOVIE CLIP INSTANCE WITHIN A BOUNDARY

Being able to drag the ball movie clip instance around the screen is critical to our project’s interactivity. This is because the ball’s position on screen will determine the volume and panning of the “bounce” sound. However, if we were to allow users to freely drag the basketball movie clip instance on screen, our scene would not be realistic because that would mean dragging and bouncing the ball on walls, the backboard, and so forth. Thus, we need to restrict dragging to the area denoted by the court.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint