event.urlRequest Example

I know this must be extremely simple, but I’m trying to link to a url, but don’t have an example of how to use: event.urlRequest. Someone, please help! Thanks. [import]uid: 8780 topic_id: 9124 reply_id: 309124[/import]

Does anyone know the answer to this? Please help!! [import]uid: 8780 topic_id: 9124 reply_id: 33418[/import]

Hey there, check this link; http://developer.anscamobile.com/reference/index/systemopenurl

An example;

[lua]local function openmyurl (event)
system.openURL(“http://www.anscamobile.com”)
end
yourbutton:addEventListener(“tap”, openmyurl)[/lua]

Peach :slight_smile: [import]uid: 52491 topic_id: 9124 reply_id: 33813[/import]

Thanks Peach! You’ve been working with my son, Jake. His says you’ve been extremely helpful. We appreciate your Corona support!! [import]uid: 8780 topic_id: 9124 reply_id: 33843[/import]

Hey staytoooned :slight_smile:

He mentioned that he was working with/for (I can’t remember which) his mother, that’s lovely!

I’m glad I’ve been able to help - Jake’s a nice guy so it’s a pleasure to deal with him, except when he forgets to turn his sound on XD

Peach :slight_smile: [import]uid: 52491 topic_id: 9124 reply_id: 33849[/import]