Inneractive code in my app - not working on click

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
abanowBUSTfGf
Posts: 63
Joined: Sat Dec 22, 2012 3:01 am

Inneractive code in my app - not working on click

Post by abanowBUSTfGf » Thu Feb 28, 2013 5:56 am

I have inserted the following code into my app in the stack script:
==========================================================================
on openstack
mobileAdRegister "TeachingKidsnewThings"
local tDetails
-- See the dictionary for more metadata entries
put "30" into tDetails["refresh"] -- The advert refresh interval in seconds
put 25 into tDetails["age"] -- The age of the target audience
put "female" into tDetails["gender"] -- The expected gender of the target audience
mobileAdCreate "myAd1", "banner", (0,0), tDetails
set the height of "banner" to the height of this card
set the width of "banner" to width of this card
end openstack
===========================================================================

It works fine but
a) the package does not run at all outside Wifi range
b) when in Wifi range, if I click on the ad it goes nowhere - all I get is a blank screen
Any ideas?

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”