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

Lesson 17. Scripting for Sound > Dragging a Movie Clip Instance within a Bounda...

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. The ball's position onscreen will determine the volume and panning of the bouncing sound. If we were to allow users to freely drag the basketball_mc movie clip instance onscreen, however, our scene would not be realistic because the user could drag and bounce the ball over the crowd, the backboard, and so forth. Obviously, 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