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

Lesson 24. Using Lists and Multiple Casts > Aligning Registration Points

Aligning Registration Points

In Lesson 21, you learned how to switch cast members through Lingo using the thememberNum property of a sprite. In this lesson, you learned how to switch cast members by switching casts. In both Lesson 21 and this lesson, you learned that it is a good idea to make sure the cast members being switched are the same size, but Director does not require this. In fact, in other instances, it may not be possible or desirable for switched cast members to be exactly the same size. Imagine, for example, an animated character whose cast members shrink as it walks into the distance.

When you place the original cast member in the score, Director knows its position by its top and left coordinates. However, when you switch that cast member with another, Director places the new cast member on the stage so that its registration point matches the original cast member's registration point, not the original cast member's top and left coordinates. The registration point is a fixed point assigned to the cast member; the registration point can fall inside or outside the boundaries of the cast member. Thus, a cast member that takes the place of another cast member of exactly the same size still may not be aligned properly on the stage if the two cast members'registration points do not match. Such a misalignment causes screen jumping, in which a portion of the screen appears to move as the movie plays.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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