#NEWLINE# def enable( self , properties ) : #NEWLINE# #INDENT# '\n        @param properties: Dictionary\n\n        Enables and/or disables the controlbar widgets. Disabled widgets are greyed out.\n        For example, this can be useful when you want to force the user to watch a\n        video in the case of an advertisement. A value of all can be used to enable/disable\n        all widgets at the same time. For example, enable({all: False}) will disable all widgets.\n        Example: properties = {play: False}\n        ' #NEWLINE# if self . loaded : #NEWLINE# #INDENT# if self . name : #NEWLINE# #INDENT# self . _player . callFlash ( 'fp_invoke' , [ properties . name , 'enable' , properties ] )