SUPPORT  :  MPEG ADVANCE XTRA TECHNOTES :  MA005
 

Using Fullscreen Playback in Mpeg Advance Xtra

 

Mpeg Advance Xtra does not have an automatic fullscreen command like DirectMediaXtra. The automatic fullscreen renderer has been deprecated by Microsoft, and it is not present in Quicktime for cross-platform compatibility. For better results we recommend that developers use Director's stage scaling capabilities to get fullscreen playback. These commands were introduced in Director 8, so they are available in all versions of Director supported by Mpeg Advance Xtra (8.5 and MX). A sample Lingo listing is:


(the stage).rect = the desktoprectlist[1]

sprite(spritenumhere).rect = the desktoprectlist[1]


This will scale your stage and the video sprite to cover the whole area of the main monitor. The benefit of going this route is that the developer maintains control of the video with full support for mouse and key events, with no noticeable degradation in playback quality. This code is also compatible with any other media format playing, including Flash sprites, vectors and bitmaps.

A behavior that uses these functions to toggle a sprite to fullscreen mode can be found here.

 

 ID: PRODUCT: PLATFORM: VERSION: KEYWORDS: LAST UPDATED: AREA:
 MA005 Mpeg Advance Xtra Win / Mac 1.04 Fullscreen, Setfullscreen February 20, 2003 Mpeg Advance Xtra