Hi, all
I try to make a plugin in flash, but I have trouble with theses two buttons, they don't works
any help apreciate
Code
this.btn_aide.useHandCursor = true;
this.btn_full.useHandCursor = true;
this.btn_aide.addEventListener(MouseEvent.CLICK, btn_aide_clicked);
this.btn_full.addEventListener(MouseEvent.CLICK, fullscreen_clicked);
function btn_aide_clicked(ev:MouseEvent):void
{
krpano.set("set(plugin[panoaide].visible, true);");
}
function fullscreen_clicked(ev:MouseEvent):void
{
if (stage.displayState != StageDisplayState.FULL_SCREEN)
{
stage.displayState = StageDisplayState.FULL_SCREEN;
}
else
{
stage.displayState = StageDisplayState.NORMAL;
}
}
Display More