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

-- SWA tab of Property Inspector

[
	#swaTab:
	[
		#comment: "SWA",
		
		#symbol: #swa,
		
		#picture: [7900, 17],

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

			#duration:
			[
				#format: #float,
				#comment: "The duration, in seconds, of the sound.",
				#editable: false
			],
			
			#mpegLayer:
			[
				#format: #integer,
				#comment: "The MPEG encoding layer of the sound. The Shockwave Asset only plays MPEG Layer 3 sounds.",
				#editable: false
			],

			#id3tags:
			[
				#editable: false,
				#getprop: false,
				#comment: "The text-based ID3 tags that have been embedded in an MP3 sound."
			],

			#bitRate:
			[
				#format: #integer,
				#comment: "The amount of data, in kilobits, played in a single second of sound.",
				#editable: false
			],
			
			#sampleRate:
			[
				#format: #integer,
				#comment: "The number of samples per second in the sound.",
				#editable: false
			],
			
			#bitsPerSample:
			[
				#format: #integer,
				#comment: "The number of bits in a single sample of the sound.",
				#editable: false
			],
			
			#numChannels:
			[
				#format: #integer,
				#comment: "The number of channels in the sound.",
				#editable: false
			],
			
			#url:
			[
				#format: #string,
				#comment: "The location of the sound file to play."
			],

			#cuePointNames:
			[
				#editable: false,
				#getprop: false,
				#comment: "The names of the cue points embedded in the sound."
			],
				
			#cuePointTimes:
			[
				#editable: false,
				#getprop: false,
				#comment: "The times, in milliseconds, of the cue points embedded in the sound."
			],
					
			#copyrightInfo:
			[
				#format: #string,
				#editable: false,
				#getprop: false,			
				#comment: "The copyright information embedded in the audio file. This information is set when the audio file is created."
			],
			
			#title:
			[
				#comment: "Playback Properties",
				#title: true
			],

			#volume:
			[
				#format: #integer,
				#comment: "The volume the sound is played at.",
				#range:
				[
					#min :0,
					#max: 255
				]
			],
			
			#soundChannel:
			[
				 #format: #integer,
				 #comment: "The sound channel that the audio is played in. The audio will stop any sounds currently playing in this channel. If this property is set to 0, the audio will play in the highest free sound channel available.",
				 #range:
				 [
					0,
					1,
					2,
					3,
					4,
					5,
					6,
					7,
					8
				]
			],
			
			#preloadTime:
			[
				#format: #integer,
				#range:
				[
					1,
					2,
					3,
					4,
					5,
					10,
					15,
					20,
					30,
					40,
					60
				],
				#comment: "The amount of audio, in seconds, that is downloaded before the audio begins playing. Larger preloadTime values cause the member to load slower, but play back smoothly over unreliable connections. Small values load faster, but are more likely to stutter and gap over slow, unreliable connections."
			],
			
			#title:
			[
				#comment: "Playback Status Properties",
				#title: true
			],

			#percentPlayed:
			[
				#format: #float,
				#editable: false,
				#getprop: false,
				#comment: "The percentage of the total audio that has been played."
			],

			#percentStreamed:
			[
				#format: #float,
				#editable: false,
				#getprop: false,
				#comment: "The percentage of the total audio that has been downloaded and is available to play."
			],

			#currentTime:
			[
				#format: #float,
				#editable: false,
				#getprop: false,
				#comment: "The amount, in milliseconds, of the audio that has been played."
			],

			#state:
			[
				#format: #integer,
				#editable: false,
				#getprop: false,
				#comment: "The current state of the audio stream, expressed as an integer code. See the Lingo Dictionary for a description of these values."
			],

			#currentChannel:
			[
				#format: #integer,
				#editable: false,
				#getprop: false,
				#comment: "When the soundChannel property is set to zero, the SWA member will play its audio in any available sound channel. This property returns the actual channel used."
			]
		],
		
		#itemDescriptionList:
		[
			#path:
			[
				#type: #label,
				#text: "Path:",
				#left: 1,
				#top: 0,
				#right: 63,
				#bottom: 16
			],
			
			#url:
			[
				#property: #url,
				#left: 0,
				#top: 14,
				#right: -1,
				#bottom: 14 + 20
			],
						
			#browse:
			[
				#type: #browse,
				#comment: "Browse...",
				#picture: [7950, 0],
				#left: -30,
				#top: 16 + 18 + 4,
				#right: -1,
				#bottom: 16 + 22 + 12
			],

			#volume:
			[
				#type: #label,
				#alignment: #right,
				#text: "Volume:",
				#left: 0,
				#top: 60,
				#right: 63,
				#bottom: 60 + 16
			],
			
			#volume:
			[
				#property: #volume,
				#left: 68,
				#top: 60,
				#right: -2,
				#bottom: 60 + 16
			],
				
			#soundChannel:
			[
				#type: #label,
				#alignment: #right,
				#text: "Channel:",
				#left: 0,
				#top: 86,
				#right: 63,
				#bottom: 86 + 16
			],
			
			#soundChannel:
			[
				#property: #soundChannel,
				#range:
				[
					"Any",
					1,
					2,
					3,
					4,
					5,
					6,
					7,
					8
				],
				#left: 72,
				#top: 82,
				#right: 200 - 38,
				#bottom: 82 + 22
			],
			
			#preloadTime:
			[
				#type: #label,
				#alignment: #right,
				#text: "Preload:",
				#left: 0,
				#top: 114,
				#right: 63,
				#bottom: 114 + 16
			],
			
			#soundChannel:
			[
				#property: #preloadTime,
				#left: 72,
				#top: 110,
				#right: 200 - 38,
				#bottom: 110 + 22
			],
			
			#stop:
			[
				#type: #button,
				#picture: [7000, 16],
				#comment: "Stop",
				#left: 72,
				#top: 150,
				#right: 72 + 22,
				#bottom: 150 + 20
			],
				
			#play:
			[
				#type: #button,
				#picture: [7000, 17],
				#comment: "Play",
				#left: 72 + 21,
				#top: 150,
				#right: 72 + 21 + 22,
				#bottom: 150 + 20
			],
		
			#durationLabel:
			[
				#type: #label,
				#alignment: #right,
				#text: "Duration:",
				#left: 0,
				#top: 180,
				#right: 66,
				#bottom: 180 + 16
			],
			
			#duration:
			[
				#type: #label,
				#left: 75,
				#top: 180,
				#right: -1,
				#bottom: 180 + 16
			],
			
			#bitRateLabel:
			[
				#type: #label,
				#alignment: #right,
				#text: "Bitrate:",
				#left: 0,
				#top: 195,
				#right: 66,
				#bottom: 195 + 16
			],
			
			#bitRate:
			[
				#type: #label,
				#left: 75,
				#top: 195,
				#right: -1,
				#bottom: 195 + 16
			],
			
			#sampleRateLabel:
			[
				#type: #label,
				#alignment: #right,
				#text: "Sample Rate:",
				#left: 0,
				#top: 210,
				#right: 66,
				#bottom: 210 + 16
			],
			
			#sampleRate:
			[
				#type: #label,
				#left: 75,
				#top: 210,
				#right: -1,
				#bottom: 210 + 16
			],
			
			#bitDepthLabel:
			[
				#type: #label,
				#alignment: #right,
				#text: "Bit Depth:",
				#left: 0,
				#top: 225,
				#right: 66,
				#bottom: 225 + 16
			],
			
			#bitsPerSample:
			[
				#type: #label,
				#left: 75,
				#top: 225,
				#right: 150,
				#bottom: 225 + 16
			],
			
			#numChannelsLabel:
			[
				#type: #label,
				#alignment: #right,
				#text: "Ch. Format:",
				#left: 0,
				#top: 240,
				#right: 66,
				#bottom: 240 + 16
			],
			
			#numChannels:
			[
				#type: #label,
				#left: 75,
				#top: 240,
				#right: 150,
				#bottom: 240 + 16
			],
			
			#mpegLayerLabel:
			[
				#type: #label,
				#alignment: #right,
				#text: "MPEG Layer:",
				#left: 0,
				#top: 255,
				#right: 66,
				#bottom: 255 + 16
			],
			
			#mpegLayer:
			[
				#type: #label,
				#left: 75,
				#top: 255,
				#right: 150,
				#bottom: 255 + 16
			]
		]
	]
]
