| Package | widgetfactory.proxy |
| Class | public class WidgetManagerProxy |
| Inheritance | WidgetManagerProxy BaseProxy Object |
| Implements | IWidgetManager |
| Method | Defined By | ||
|---|---|---|---|
WidgetManagerProxy(widgetManager:Object)
Creates a new instance of the WidgetManagerProxy class. | WidgetManagerProxy | ||
checkCurrentSlide():void
Enacts checkWidgetsOnSlide() for the slide currently playing back in the movie. | WidgetManagerProxy | ||
checkWidgetsOnSlide(slideNumber:int):void
Forces the WidgetManager to check if any widgets on a certain slide are now active at runtime. | WidgetManagerProxy | ||
deRegister(widgetName:String, slideNumber:int):void
Stops the WidgetManager notifying passed in widget of runtime changes. | WidgetManagerProxy | ||
register(untypedRuntimeData:Object):void
Signs up a widget with the WidgetManager to be notified when its runtime state changes. | WidgetManagerProxy | ||
replaceFrameScriptOn(slide:MovieClip, frame:int):void
When an object is de-registered then its framescript needs to be removed so as not to cause an error. | WidgetManagerProxy | ||
| WidgetManagerProxy | () | Constructor |
public function WidgetManagerProxy(widgetManager:Object)
Creates a new instance of the WidgetManagerProxy class.
widgetManager:Object — The Widget Manager object that the proxy is associated with.
|
| checkCurrentSlide | () | method |
public function checkCurrentSlide():void
Enacts checkWidgetsOnSlide() for the slide currently playing back in the movie.
| checkWidgetsOnSlide | () | method |
public function checkWidgetsOnSlide(slideNumber:int):voidForces the WidgetManager to check if any widgets on a certain slide are now active at runtime.
Parameters
slideNumber:int — The number of the slide to check. (zero based)
|
| deRegister | () | method |
public function deRegister(widgetName:String, slideNumber:int):void
Stops the WidgetManager notifying passed in widget of runtime changes.
Parameters
widgetName:String — The ItemName for the widget.
| |
slideNumber:int — The number of the slide that the widget is placed on. (zero based)
|
| register | () | method |
public function register(untypedRuntimeData:Object):void
Signs up a widget with the WidgetManager to be notified when its runtime state changes.
Parameters
untypedRuntimeData:Object — The object that holds the specific RuntimeData for the widget.
|
| replaceFrameScriptOn | () | method |
public function replaceFrameScriptOn(slide:MovieClip, frame:int):voidWhen an object is de-registered then its framescript needs to be removed so as not to cause an error. However, it's possible that another object that has the same start frame or end frame. So we must replace it with this function which will check all the widgets on the slide for runtime (and won't cause an error).
Parameters
slide:MovieClip | |
frame:int |