per chiudere il fullscreen io ho associato al pulsante chiudi questo:

on(release){
getURL("javascriptarent.close()");
}