forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadLoaded.lcdoc
More file actions
40 lines (27 loc) · 879 Bytes
/
Copy pathadLoaded.lcdoc
File metadata and controls
40 lines (27 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Name: adLoaded
Type: message
Syntax: adLoaded <pAdName>, <pDefault>
Summary:
Sent when an ad had loaded (or reloaded).
Introduced: 5.5
OS: ios, android
Platforms: mobile
Example:
on adLoaded pAd
enable button "move next"
end adLoaded
Parameters:
pAdName:
The name of ad that has loaded (as specified in <mobileAdCreate>)
pDefault (bool):
True or false, specifying if the loaded ad is a default ad.
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.
References: mobileAdCreate (command), mobileAdDelete (command),
mobileAdSetVisible (command), mobileAdSetTopLeft (command),
mobileAdRegister (command), mobileAdGetTopLeft (function),
mobileAdGetVisible (function), adClicked (message),
adLoadFailed (message)