Button and link

Hey guys!!!

Please, am so new to Corona and I seen how great it can help build an app. Please, my question mat seem cheap but your response will solve my problem.

How can I add a web address to my button. For instance, if I have a Corona icon and I want the button (icon) to link to www.coronalabs.com. How do I do that?

Thanks!

Sam (new Corona user)

There are many different ways to make a button.  But in all cases, there is a function you write to handle the button touch.  In that function you would use the API Call:

    system.openURL("http://coronalabs.com")

I would recommend you start here; http://coronalabs.com/resources/tutorials/getting-started-with-corona/

Rob

Thank you Rob!

There are many different ways to make a button.  But in all cases, there is a function you write to handle the button touch.  In that function you would use the API Call:

    system.openURL("http://coronalabs.com")

I would recommend you start here; http://coronalabs.com/resources/tutorials/getting-started-with-corona/

Rob

Thank you Rob!