At 10:48 PM -0800 11/15/2001, Retiarius wrote:
>1) Is there any way to get and also set the height and width of a QuickTime
>movie?  Sometimes I like to double the size of the playback, or fill the
>entire screen with a movie.

Use the height and width properties (or related properties such as the
rectangle).

(The player will revert back to the "natural" size of the movie when you
leave the card, unless you set the player's lockLoc property to true.)


>2) There appears to be at least two ways to play a QuickTime movie.  One is
>to use the "play" command  (play videoclip mMyMovie at loc etc.), and the
>other is to manually create a player.

Three ways, really, if one wants to get picky:

  - Create a player object and assign a file to it.
  - Use "play" to play a movie file.
  - Import a movie file as a videoClip object and use "play" to play it.

A videoClip is actually part of the stack file, which (the plus) means it
can't be accidentally separated from the stack, but also (the minus) means
it needs to be in memory whenever the stack is loaded into memory. So in
general you will want to use videoClip objects only for small animations.


>Is it implied with the play command that the movie is being "played" in a
>player? If so, how do you name the player?

The play command actually creates a temporary player, but this is mostly an
internal thing with not much significance for the scripter. This temporary
player is removed as soon as playing is finished.


>Is there an advantage of creating player object with the player tool over
>using the play command?

You can use a number of properties on player objects that it's not
practical to use with the play command. That's the main advantage, as I see
it. Also, the player is permanent so it's not necessary to set up the file,
etc. every time you want to play the movie. And a player can appear on the
screen even when it's not being played.

Basically a player object is more versatile and allows you more options;
the play command is simpler to set up and use.


>Is there a way to script the creation of a player and dynamically assign a
>QuickTime movie?

Sure:
   create player "My Player"
   set the filename of player "My Player" to "/Disk/Folder/Moviename"
   -- or use whatever path you need, or ask the user to select
   -- a movie file with the "answer file" command

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!


Reply via email to