fusionplayer controller types
The controller types listed below describe three different types that can be accessed or defined when creating plugins.
Filter 'Function' to display the full list available in the API documention.
// target fusionplayer
fusionplayer = MovieClip(stage.getChildAt(0));
// call to buttonTooltipOver
fusionplayer.buttonTooltipOver(null, caption);
Filter 'Controller event function' to display the full list available in the API documention.
function initialisePlugin():void {
fusionplayer = MovieClip(stage.getChildAt(0));
// enter custom code here
}
function onChangePano():void {
// enter custom code here
}
function onFullscreen():void {
// enter custom code here
}
Filter 'Object' to display the full list available in the API documention.
/* to check if fusionplayer is currently tilting or panning the panorama
use fusionplayer variable: fusionplayer.continuous:Boolean */
// target fusionplayer
fusionplayer = MovieClip(stage.getChildAt(0));
if (fusionplayer.continuous) {
// enter custom code here
}