-- Director 8.5 View Description List
-- Copyright 2000 Macromedia, Inc.
-- $Revision: 4 $

-- AVI tab of Property Inspector

[
	#quicktimemedia:
	[
		#comment: "AVI",
		
		#symbol: #digitalvideo,

		#helpTopic: 1221,
				
		#picture: [7900,24],
		
		#propertyDescriptionList:
		[
			#title:
			[
				#comment: "Playback Properties",
				#title: true
			],

			#sound: 
			[
			 	#format: #boolean,
			 	#comment: "When TRUE, any soundtracks embedded in the digital video are played. Otherwise, the video will play silently."
			],
			 
			#pausedAtStart: 
			[
			 	#format: #boolean,
			 	#comment: "When TRUE, the digital video will remain on the initial frame when it first appears on the Stage."
			],

			#loop: 
			[
			 	#format: #boolean,
				#comment: "When TRUE, playback will restart from the beginning when the end of the video is reached."
			],

			#preLoad: 
			[
			 	#format: #boolean,
				#comment: "When TRUE, the video is loaded into memory before playing. The global property 'the preloadRam' specifies the maximum amount of RAM, in bytes, a digital video member will consume when preloading.  If 'the preloadRam' is zero, the member will use as much memory as is necessary."
			],

			#frameRate: 
			[
			 	#format: #integer,
			 	#editable: true,
			 	#range: 
			 	[
			 		#min: -2,
			 		#max: 255,
			 		#granularity: 1
			 	],
				#comment: "The rate at which the video will play, in frames per second. To syncronize the playback to the soundtrack, set this property to zero. To play every frame at the video's default rate, set this property to -1. To play every frame at the maximum possible rate, set this property to -2."
			],

			#title:
			[
				#comment: "Display Properties",
				#title: true
			],
			
			#directToStage: 
			[
			 	#format: #boolean,
			 	#comment: "When TRUE, the video will render directly to the user's screen. Otherwise, it will render into Director's offscreen buffer first. directToStage members play back with the highest possible performance, but cannot overlap other sprites. Non-directToStage members can layer with other sprites, at the expense of some performance."
			],

			#crop: 
			[
			 	#format: #boolean,
				#comment: "When TRUE, the video will play back at its original size, regardless of the size of the sprite on stage. If the sprite rectangle is smaller than the original video, it will not show portions outside of the sprite rectangle."
			],
					 
			#center: 
			[
			 	#format: #boolean,
				#comment: "When TRUE, the video will play back in the center of the sprite rectangle. Otherwise it will play back in the upper left corner. This property has no effect if the crop property is FALSE."
			],
			
			#video: 
			[
			 	#format: #boolean,
			 	#comment: "When TRUE, the sprite will render video as normal. Otherwise, only sounds in the original movie will play."
			]
		],
		
		#itemDescriptionList:
		[
			#videoLabel: 	
			[
				#type: #label,
				#text: "Playback:",
				#left: 1,
				#top: 0,
				#right: 63,
				#bottom: 16
			],
			
			#play: 
			[
				#type: #list,
				#left: 0,
				#top: 14,
				#right: 136,
				#bottom: 14 + 22,
				#range:
				[
					"Play Every Frame (No Sound)",
					"Sync to Sound"
				]
			],

			#frameRateTypeLabel: 	
			[
				#type: #label,
				#text: "Rate:",
				#left: 1,
				#top: 38,
				#right: 1 + 63,
				#bottom: 38 + 16
			],
		
			#type:
			[
				#type: #list,
				#left: 0,
				#top: 54,
				#right: 80,
				#bottom: 54 + 22,
				#range:
				[
					"Normal",
					"Maximum",
					"Fixed"
				]
			],
			
			#frameRate:
			[
				#type: #field,
				#property: #frameRate,
				#left: 90,
				#top: 55,
				#right: 90 + 46,
				#bottom: 55 + 20,
				#comment: "Frame Rate"
			],

			#fps:
			[
				#type: #label,
				#text: "fps",
				#left: 142,
				#top: 57,
				#right: -1,
				#bottom: 57 + 16
			],
						
			#framingLabel:
			[
				#type: #label,
				#text: "Framing:",
				#left: 1,
				#top: 82,
				#right: 1 + 63,
				#bottom: 82 + 16
			],		
			
			#crop: 
			[
				#type: #radioButton,
				#property: #crop,
				#text: "Crop",
				#range: true,
				#left: 0,
				#top: 97,
				#right: 50,
				#bottom: 97 + 15
			],

			#center:
			[
				#type: #checkbox,
				#property: #center,
				#text: "Center",
				#left: 0,
				#top: 115,
				#right: 90,
				#bottom: 115 + 16
			],
			
			#scale: 
			[
				#type: #radioButton,
				#property: #crop,
				#text: "Scale",
				#range: false,
				#left: 64,
				#top: 97,
				#right: 64 + 50,
				#bottom: 97 + 15
			],

			#video:
			[
				#type: #checkbox,
				#property: #video,
				#text: "Show Video",
				#left: 0,
			 	#top: 150,
			 	#right: 80,
			 	#bottom: 150 + 16
			],

			#sound:
			[
				#type: #checkbox,
				#property: #sound,
				#text: "Play Sound",
				#left: 0,
			 	#top: 168,
			 	#right: 80,
			 	#bottom: 168 + 16
			],

			#preLoad:
			[
				#type: #checkbox,
				#property: #preload,
				#text: "Preload",
				#left: 0,
				#top: 186,
				#right: 100,
				#bottom: 186 + 16
			],

			#directToStage:
			[
				#type: #checkbox,
				#property: #directToStage,
				#text: "Direct to Stage",
				#left: 110,
			 	#top: 150,
			 	#right: -1,
			 	#bottom: 150 + 16
			],

			#pausedAtStart:
			[
				#type: #checkbox,
				#property: #pausedAtStart,
				#text: "Paused",
				#left: 110,
			 	#top: 168,
			 	#right: -1,
			 	#bottom: 168 + 16
			],

			#loop:
			[
				#type: #checkbox,
				#property: #loop,
				#text: "Loop",
				#left: 110,
			 	#top: 186,
			 	#right: -1,
			 	#bottom: 186 + 16
			]	
		]
	]
]
