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.

Does anyone know the answer to this? Please help!!

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

An example;

1
2
3
4
local function openmyurl (event)
system.openURL("http://www.anscamobile.com")
end
yourbutton:addEventListener("tap", openmyurl)

Thanks Peach! You've been working with my son, Jake. His says you've been extremely helpful. We appreciate your Corona support!!

Hey staytoooned :)

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 :)

views:1501 update:2011/10/3 8:06:12
corona forums © 2003-2011