It turned out to be pretty easy. The only catch is that the hyperlink needs to be everything on an entire line or the coding would be a bit more complicated. I just added a few lines to the util.lua file that’s needed to run the scrollview. I also added a couple lines at the end to give it retina display text.
This is lines 87-111 of my version of util.lua
[lua] while i <= #arr do
local t = display.newText( arr[i], 0, 0, font, size )
–the following 13 lines were added by Matt at W2MD to give it hypertext capabilities on the portion “ilovecorona.com.”
if arr[i] == “ilovecorona.com” then
–changing to blue color
t:setTextColor( 0,0,255)
–setting touch listener to call up a website
local function openWebsite()
print(“getting touched”)
system.openURL(“http://www.ilovecorona.com”)
end
t:addEventListener(“touch”, openWebsite)
else
t:setTextColor( color[1], color[2], color[3] )
end
t.x = math.floor(t.width/2)
t.y = math.floor((size*1.3)*(i-1))
–the following two lines were added by Matt at W2MD to give it retina display
t.size = t.size * 2
t:scale(.5,.5)
[import]uid: 10211 topic_id: 9906 reply_id: 36132[/import]