broadcastProps

Syntax: the broadcastProps of member whichFlashMember
Type: Cast member property
Description: This property controls whether changes made to a Flash movie cast member are broadcast to all its sprites currently on the stage. The broadcastProps of member property can have these values:
TRUE Changes made to the cast member are immediately broadcast to its sprites currently on the stage.
FALSE Changes made to the cast member do not affect its sprites on the stage.
When this property is set to FALSE, changes made to the cast member are used only as defaults for new sprites.
Example: This frame script assumes that a Flash movie cast member named "Navigation Movie" has been set up with its broadcastProps property set to FALSE. The script momentarily allows changes to a Flash movie cast member to be broadcast to its sprites currently on the stage. It then sets the viewScale property of the Flash movie cast member, and that change is broadcast to its sprite. The script then prevents the Flash movie from broadcasting changes to its sprites.
on enterFrame
	set the broadcastProps of member "Navigation Movie" = TRUE
	set the viewScale of member "Navigation Movie" = 200
	set the broadcastProps of member "Navigation Movie" = FALSE
end


Previous | Next