showContextMenu(spriteRef) - Called by the Xtra when the user clicks with the
right mouse button over the HTML area, to invoke the standard browser context
menu. You can return TRUE to allow the menu to appear (the default value), or
FALSE to prevent the menu from being displayed.
Lingo example:
on showContextMenu spriteRef
return false
end
JavaScript syntax example:
function showContextMenu(spriteRef){
return false
}
navigateError(spriteRef, URL, frameName) - This event is generated when the
browser can not load an URL. It may be a malformed URL or one that is not
currently online. The event parameters include the name of the URL that failed as
well as the name of the frame containing it if the navigation was invoked in an
HTML frame. The default action is to display the standard error URL for Internet
Explorer, but you can instead return FALSE from this handler and present your
own customized error message.
Lingo example:
on navigateError spriteRef, URL, frameName
alert("There was an error trying to load "&URL)
return false
end
JavaScript syntax example:
function navigateError(spriteRef, URL, frameName ){
_player.alert("There was an error trying to load "+URL)
Online Help
29
Commentaires sur ces manuels