adLoaded

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
adLoaded <pAdName>, <pDefault>
Summary

Sent when an ad had loaded (or reloaded).

Introduced5.5
OSios, android
Platformsmobile
Parameters
NameTypeDescription
pAdName

The name of ad that has loaded (as specified in mobileAdCreate)

pDefault

True or false, specifying if the loaded ad is a default ad.

Example
on adLoaded pAd
   enable button "move next"
end adLoaded
RelatedCommand: mobileAdCreate, mobileAdDelete, mobileAdSetVisible, mobileAdSetTopLeft, mobileAdRegister
Function: mobileAdGetTopLeft, mobileAdGetVisible
Message: adClicked, adLoadFailed
Description

Handle the adLoaded message if you want to perform an action when an ad finishes loading.

The adLoaded message is sent to the object that created the ad when the ad has loaded, or reloaded.