Call JS to complete the withdrawal and the full screen function in Flex

Recommended for you: Get network issues from WhatsUp Gold. Not end users.
1, Sign out
In Flex calling JS code
 ExternalInterface.call("loginout");

In index.template.html code
function loginout(){
	this.window.location.reload();
}

To complete the withdrawal (Shua Xin) function.
2, Full screen, reduction
Full screen in Flex (reduction) code
this.stage.displayState = StageDisplayState.FULL_SCREEN;//Full screen
this.stage.displayState = StageDisplayState.NORMAL;//Reduction

In addition, the need to add the following screen set in index.template.html
One is to add
"allowFullScreen","true",//2, in the "allowScriptAccess", "sameDomain", the back
Another is to add
allowFullScreen="true"//1, in the allowScriptAccess= "sameDomain".
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Erica at December 15, 2013 - 10:59 PM