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

Lesson 20. Synchronizing with Digital Video > Moving Text Off the Stage

Moving Text Off the Stage

Now you're ready to finish the text animation. So far, you have a dramatic opening sequence: the spaceship flies into one corner of the screen accompanied by music in the digital video, and as the spaceship turns, text animates onto the stage. Now you will animate the text off the stage, once again synchronizing its movement with a specific spot in the digital video.

Select the text sprite in channel 3 that extends from frame 11 through frame 31 and choose Edit > Copy (Windows Ctrl+C, Macintosh Command+C).

To animate the text off the screen, you can simply use a reverse sequence of the animation that moves the text onto the screen.

Click channel 3, frame 32, and choose Edit > Paste (Windows Ctrl+V, Macintosh Command+V). Then choose Modify > Reverse Sequence.

This command was introduced in Lesson 8. It reverses the order of the selected cells. In this case, the text will animate off the stage in the exact reverse order it animated onto the stage.

Figure .

Move the script in the behavior channel, frame 31, so that it is in frame 52.

Figure .

Remember: That's the go to the frame script you need at the end of the movie so that the digital video plays through in its entirety.

Now you'll set the synchronization time, as you did earlier in frame 10, by adding a new frame script at frame 31, the point where the text begins to slide back off the screen.

Double-click the behavior channel, frame 31, to open the Script window. Enter the script shown here in bold:

							global gQTChannel
							--Declare gQTChannel as a global variable.
							--It contains the channel number of the digital video.
on exitFrame me
  if sprite (gQTChannel).mostRecentCuePoint = 1 then
							--If the second cue point in the movie
							--in channel gQTChannel hasn't
							--passed, then
							go to the frame             --loop in the current frame.
							end if                        --When the second cue point passes,
							--the playback head will continue.

This is similar to the score script you wrote at frame 10, only this time you are waiting for cue point 2, StoreOff, to arrive before allowing the playback head to continue.

Close the Script window. Extend the duration of the digital video sprite in channel 1 to span frames 1 through 52.

This adds the digital video to the new frames. The score should look like this:

Figure .

Play the movie.

Watch the playback head. Now the text begins to move off the screen after the second cue point, StoreOff, is passed.

Figure .

Save your work.



Not a subscriber?

Start A Free Trial

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