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

Chapter 6. Managing Outside Communicatio... > Detecting the Movie’s Playback Envir...

Detecting the Movie’s Playback Environment

Communicating with a movie’s playback environment is important for knowing how your Flash movie will play and be seen by your audience. With that information, you can tailor the movie’s display or provide warnings and recommendations to your viewers so they can better enjoy your movie. A viewer might have a lower screen resolution than you require to display the entire Stage of your movie, for example. You could load a different movie that fits, or you could modify the movie’s display settings to allow it to be scaled down. Detecting system capabilities and the kind of player hosting the movie is especially important as Flash content becomes more prevalent in devices such as cell phones, PDAs, and television set-top boxes.

Two classes can help you gather information about the playback environment: the System.capabilities class and the Stage class. The System.capabilities class can tell you about screen resolution, the operating system, the color capabilities, and many other useful properties. Table 6.4 summarizes the System.capabilities properties.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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