showProps

Syntax: showProps member whichFlashCastMember
showProps sprite whichFlashSprite
Type: Command
Description: Use this command to display a list of a Flash movie's current property settings in the Message window. This method is for authoring only and does not work in projectors or in Shockwave movies.
Example: This handler accepts the name of a cast as a parameter, searches that cast for Flash movie cast members, and displays the cast member name, number, and properties in the Message window.
on showFlashProperties whichCast
	repeat with i = 1 to the number of members of castLib whichCast
		if the type of member i of castLib whichCast = #flash then
			put "Cast member" && i & ":" && the name of member i of castLib whichCast
			put RETURN
			showProps member i of castLib whichCast
		end if
	end repeat
end


Previous | Next