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

-- Flash tab of Property Inspector

[
	#flash:
	[
		#comment: "Flash",
		
		#symbol: #flash,
		
		#picture: [7900, 6],

		#helpTopic: 3504,
				
		#propertyDescriptionList:
		[
			#title:
			[
				#comment: "Media Properties",
				#title: true
			],

			#originMode:
			[
				#format: #symbol,
				#range:
				[
					#center,
					#topLeft,
					#point
				],
				#comment: "Sets the point around which scaling and rotation occur. A value of #center sets the origin point to the center of the Flash movie. A value of #topLeft sets the origin point to the top left of the Flash movie. A value of #point sets the origin point to a point specified by the originPoint, originH, and originV properties. This property must be set to the default value if the scaleMode property is set to #autoSize, or the sprite will not display correctly."
			],
							
			#originPoint:
			[
				#comment: "Controls the point around which scaling and rotation of the Flash movie occur. The originPoint property can only be set if the originMode property is set to #point."
			],

			#originH:
			[
				#format: #float,
				#comment: "Controls the horizontal coordinate of the cast member's origin point, in pixels."
			],

			#originV:
			[
				#format: #float,
				#comment: "Controls the vertical coordinate of the cast member's origin point, in pixels."
			],

			#viewScale: 
			[
				#format: #float,
				#comment: "Sets the overall amount to scale the view of the cast member within the sprite's bounding rectangle. This property must be set to 100 if the scaleMode property is set to #autoSize, or the sprite will not display correctly."
			],

			#viewPoint:
			[
				#comment: "The view point is the coordinate within a cast member that is displayed at the center of the sprite's bounding rectangle and is always expressed relative to the movie's origin (as set by the originPoint, originH, and originV properties)."
			],

			#viewH:
			[
				#format: #float,
				#comment: "Controls the horizontal coordinate of the cast member's view point, specified in pixel units."
			],

			#viewV:
			[
				#format: #float,
				#comment: "Controls the vertical coordinate of the cast member's view point, specified in pixel units."
			],

            		#bgColor:
			[
				#editable: false,
				#format: #color,
				#comment: "The background color of the Flash movie."
			],
			
			#flashRect:
			[
				#editable: false,
				#getprop: false,
				#comment: "The size of the cast member as it was originally created."
			],

			#frameRate:
			[
				#editable: false,
				#comment: "The frame rate of the movie created in Flash."
			],

			#frameCount:
			[
				#editable: false,
				#comment: "The number of frames in the Flash movie."
			],

			#title:
			[
				#comment: "Playback Properties",
				#title: true
			],

			#imageEnabled: 
			[
			 	#format: #boolean,
			 	#comment: "When TRUE, the images of the member are displayed when the movie plays. Otherwise, the images are invisible."
			],
		
			#sound: 
			[
			 	#format: #boolean,
			 	#comment: "When TRUE, sounds in the Flash movie are enabled. When FALSE, the Flash movie plays silently."
			],
		
			#pausedAtStart: 
			[
			 	#format: #boolean,
			 	#comment: "When TRUE, sprites of the cast member are paused until explicitly told to play. When FALSE, sprites begin playing as soon as they're created in the Score."
			],
				
			#loop: 
			[
			 	#format: #boolean,
			 	#comment: "When TRUE, sprites loop playback of the Flash movie. When FALSE, sprites play the Flash movie once through and then stop."
			],
		
			#playbackMode:
			[
			 	#format: #symbol,
			 	#comment: "Controls the tempo of the Flash movie. A value of #normal plays the movie as close to the original tempo as possible. A value of #lockStep plays the movie frame for frame with the Director movie. A value of #fixed plays the movie at the rate specified by the fixedRate property.",
			 	#range: 
			 	[
			 		#normal,
			 		#fixed,
					#lockStep
			 	]	
			],
		
			#fixedRate: 
			[
			 	#format: #integer,
			 	#editable: true,
			 	#comment: "Controls the frame rate of the Flash movie. The default value is 15. This property is ignored if the sprite's playbackMode property is anything other than #fixed."
			],

			#title:
			[
				#comment: "Interaction Properties",
				#title: true
			],

			#buttonsEnabled:
			[
				#format: #boolean,
				#comment: "Controls whether the buttons in a Flash movie are active. Button actions are triggered only when the actionsEnabled property is set to TRUE."
			],
				
			#actionsEnabled:
			[
				#format: #boolean,
				#comment: "When TRUE, enables actions in the Flash movie."
			],
				
			#eventPassMode:
			[
				#format: #symbol,
				#range:
				[
					#passAlways,
					#passButton,
					#passNotButton,
					#passNever
				],
				#comment: "Controls when a Flash movie passes mouse events to behaviors (by default it always passes mouse events)."
			],

			#clickMode:
			[
				#format: #symbol,
				#range:
				[
					#boundingBox,
					#opaque,
					#object
				],
				#comment: "Controls when the Flash movie sprite detects mouse click events and when it detects rollovers."
			],

			#title:
			[
				#comment: "Display Properties",
				#title: true
			],

			#directToStage: 
			[
			 	#format: #boolean,
			 	#comment: "When TRUE, the Flash movie is rendered directly onto the Stage for faster playback. No other sprites can overlap the Flash movie. When FALSE, the Flash movie is rendered normally and other sprites can overlap it."
			],
		
			#scaleMode: 
			[
			 	#format: #symbol,
			 	#comment: "Controls the way the Flash movie is scaled within a sprite's bounding rectangle.",
			 	#range: 
			 	[
			 		#showAll,
			 		#noBorder,
			 		#exactFit,
			 		#noScale,
			 		#autoSize
			 	]
			],		
		
			#scale: 
			[
			 	#format: #float,
			 	#comment: "Scale"
			],

			#centerRegPoint:
			[
				#format: #boolean,
				#comment: "When TRUE, the registration point of this member is set to the center of the Flash movie's bounding rectangle. Otherwise the registration point is set to the upper left corner."
			],
			
			#quality:
			[
				#type: #symbol,
				#range:
				[
					#autoHigh,
					#autoLow,
					#high,
					#low
				],
				#comment: "Controls whether the Flash movie sprite is rendered using anti-aliasing to produce high-quality rendering but possibly slower movie playback."
			],
					
			#posterFrame:
			[
				#type: #integer,
				#comment: "Flash movie frame displayed in the thumbnail and properties dialog."
			],

			#title:
			[
				#comment: "Streaming Properties",
				#title: true
			],

			#preload: 
			[
			 	#format: #boolean,
			 	#comment: "When TRUE, the Flash movie must load entirely before it can be displayed or played. When FALSE, the Flash movie can stream into memory as it plays. Changeable only for linked members."
			],
					
			#bufferSize:
			[
				#format: #integer,
				#comment: "Controls how many bytes of a linked Flash movie are streamed into memory at one time. Only has an effect if the preload property is set to FALSE."
			],

			#streamMode:
			[
				#format: #symbol,
				#range:
				[
					#frame,
					#idle,
					#manual
				],
				#comment: "Controls the way a linked Flash movie is streamed into memory. When set to #frame, the movie is partially streamed with each frame. When set to #idle, the movie is partially streamed each time an idle event occurs. When set to #manual, the movie is partially streamed only when the Lingo 'stream' command is issued for the movie."
			],

			#percentStreamed:
			[
				#format: #integer,
				#editable: false,
				#getprop: false,
				#comment: "The percent of a Flash movie that has streamed into memory. This property is a value from 0 to 100%."
			],

			#bytesStreamed:
			[
				#format: #integer,
				#editable: false,
				#getprop: false,
				#comment: "Indicates the number of bytes of the cast member that have been loaded into memory."
			],

			#streamSize:
			[
				#format: #integer,
				#editable: false,
				#getprop: false,
				#comment: "Indicates the total number of bytes in the stream for the cast member."
			],

			#state:
			[
				#format: #integer,
				#editable: false,
				#getprop: false,
				#comment: "Describes the current state of the streaming file. Returns a valid value only when the Director movie is running."
			]
		],
		
		#itemDescriptionList:
		[			
			#scaleIcon:
			[
				#type: #label,
				#text: "Scale Mode:",
				#left: 1,
				#top: 0,
				#right: 1 + 63,
				#bottom: 16
			],

			#scaleMode: 
			[
				#property: #scaleMode,
				#comment: "Scale Mode",
			 	#range: 
			 	[
			 		"Show All",
			 		"No Border",
			 		"Exact Fit",
			 		"No Scale",
			 		"Auto Size"
			 	],
			 	#left: 0,
			 	#top: 14,
			 	#right: 80,
			 	#bottom: 14 + 22
			],

			#scale:
			[
				#type: #field,
				#property: #scale,
				#left: 80 + 10,
				#top: 15,
				#right: 90 + 46,
				#bottom: 15 + 20,
				#comment: "Scale Percent"
			],
						
			#percentLabel:
			[
				#type: #label,
				#text: "%",
				#left: 142,
				#top: 17,
				#right: 242 + 20,
				#bottom: 17 + 16
			],
			
			#qualityLabel: 	
			[
				#type: #label,
				#text: "Quality:",
				#left: 1,
				#top: 38,
				#right: 1 + 63,
				#bottom: 38 + 16
			],
			
			#playbackMode:
			[
				#property: #quality,
				#range:
				[
					"Auto-High",
					"Auto-Low",
					"High",
					"Low"
				],
				#left: 0,
				#top: 52,
				#right: 80,
				#bottom: 52 + 22
			],
			
			#fixedRateTypeLabel: 	
			[
				#type: #label,
				#text: "Rate:",
				#left: 1,
				#top: 77,
				#right: 1 + 63,
				#bottom: 77 + 16
			],

			#playbackMode:
			[
				#property: #playbackMode,
				#range:
				[
					"Normal",
					"Fixed",
					"Lock-Step"
				],
				#left: 0,
				#top: 91,
				#right: 0 + 80,
				#bottom: 91 + 22
			],
			
			#fixedRate:
			[
				#property: #fixedRate,
				#left: 90,
				#top: 92,
				#right: 90 + 46,
				#bottom: 92 + 20,
				#comment: "Fixed Rate"
			],

			#fps:
			[
				#type: #label,
				#text: "fps",
				#left: 142,
				#top: 93,
				#right: -1,
				#bottom: 93 + 16
			],

			#options:
			[
				#type: #button,
				#left: 21,
				#top: 116,
				#right: 160,
				#bottom: 116 + 18,
				#text: "More Options..."
			],
					
			#imageEnabled: 
			[
			 	#type: #checkbox,
			 	#property: #imageEnabled,
			 	#text: "Show Image",
			 	#left: 0,
			 	#top: 150,
			 	#right: 80,
			 	#bottom: 150 + 16
			],
		
			#soundEnabled: 
			[
			 	#type: #checkbox,
			 	#property: #sound,
			 	#text: "Play Sound",
			 	#left: 0,
			 	#top: 168,
			 	#right: 80,
			 	#bottom: 168 + 16
			],

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

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

			#loop:
			[
				#type: #checkbox,
				#property: #loop,
				#text: "Loop",
			 	#left: 110,
			 	#top: 168,
			 	#right: -1,
			 	#bottom: 168 + 16
			],
			
			#frameRateLabel:
			[
				#type: #label,
				#alignment: #right,
				#text: "Normal rate:",
				#left: 0,
				#top: 212,
				#right: 63,
				#bottom: 212 + 16
			],
			
			#frameRate:
			[
				#type: #label,
				#property: #frameRate,
				#left: 72,
				#top: 212,
				#right: 72 + 20,
				#bottom: 212 + 16
			],
			
			#fps:
			[
				#type: #label,
				#text: "fps",
				#left: 72 + 20 + 1,
				#top: 212,
				#right: 106 + 20,
				#bottom: 212 + 16
			],
			
			#frameCountLabel:
			[
				#type: #label,
				#alignment: #right,
				#text: "Frame count:",
				#left: 0,
				#top: 228,
				#right: 63,
				#bottom: 228 + 16
			],
			
			#frameCount:
			[
				#type: #label,
				#property: #frameCount,
				#left: 72,
				#top: 228,
				#right: 72 + 20,
				#bottom: 228 + 16
			],
		
			#fps:
			[
				#type: #label,
				#text: "frames",
				#left: 72 + 20 + 1,
				#top: 228,
				#right: 106 + 50,
				#bottom: 228 + 16
			]
		]
	]
]
