Lingo Dictionary > S > showProps() |
![]() ![]() ![]() |
showProps()
Syntax
member(
whichFlashOrVectorCastMember
).showProps
member(
whichFlashOrVectorCastMember
).showProps()
sprite(
whichFlashOrVectorSprite
).showProps()
sound(channelNum
).showProps()
Description
Command; displays a list of the current property settings of a Flash movie, Vector member, or currently playing sound in the Message window. This command is useful for authoring only; it 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 ShowCastProperties whichCast repeat with i = 1 to the number of members of castLib whichCast castType = member(i, whichCast).type if (castType = #flash) OR (castType = #vectorShape) then put castType&&"cast member" && i & ":" && member(i, whichCast).name put RETURN member(i ,whichCast).showProps() end if end repeat end
See also
![]() ![]() ![]() |