
440
Chapter 21: Managing Memory
5
In the frame where you want the video to appear, use script to set the sprite’s
loc
property to
place the sprite on the Stage in the location you select.
6
Set the
movieRate
property to 1 to start playing the video.
This way, the video loads its initial segment into memory and is ready to play immediately when
your movie reaches the frame where you want it to appear. Experiment with preloading the video
a few frames earlier if you find that preloading has not yet finished when your movie reaches the
frame where the video appears.
Содержание DIRECTOR MX 2004-USING DIRECTOR
Страница 1: ...DIRECTOR MX 2004 Using Director...
Страница 16: ...16 Chapter 1 Introduction...
Страница 82: ...82 Chapter 3 Sprites...
Страница 98: ...98 Chapter 4 Animation...
Страница 134: ...134 Chapter 5 Bitmaps...
Страница 242: ...242 Chapter 10 Sound and Synchronization...
Страница 274: ...274 Chapter 11 Using Digital Video...
Страница 290: ...290 Chapter 12 Behaviors...
Страница 302: ...302 Chapter 13 Navigation and User Interaction...
Страница 334: ...334 Chapter 15 The 3D Cast Member 3D Text and 3D Behaviors...
Страница 392: ...392 Chapter 16 Working with Models and Model Resources...
Страница 418: ...418 Chapter 18 Movies in a Window...
Страница 446: ...446 Chapter 22 Managing and Testing Director Projects...