browserLoadFailed

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
browserLoadFailed <pUrl>, <pError>
Summary

Sent when the given URL fails to load.

Introduced4.5.3
OSios, android
Platformsmobile
Parameters
NameTypeDescription
pUrl

The URL that failed to load.

pError

The error message.

Example
on browserLoadFailed pURL, pError
  put "Failed to load" && pURL && "Error:" && pError into field "status"
end browserLoadFailed
RelatedCommand: mobileControlCreate, mobileControlDelete, mobileControlSet
Function: mobileControlGet, mobileControlTarget, mobileControls
Message: browserStartedLoading, browserLoadRequest, browserFinishedLoading
Description

Handle the browserLoadFailed message to perform an action when a URL fails to load in a native mobile browser created using mobileControlCreate.

The browserLoadFailed message is sent to the object containing the script that created the mobile browser control when a URL fails to load.