So i have the web popup url defined as th vatiable URL, but I want to change the url if the function delta is activated.
[lua]local url = “http://www.google.com/”
native.showWebPopup( 10, 30, 300, 380, url)
local function delta()
print(“trying…”)
local url = “http://avvecc.com/”
native.showWebPopup( 10, 30, 300, 380, url…stringNew)
end
local arrow = display.newImage(“arrow.jpg”, 260, 425)
arrow:addEventListener(“touch”, delta)[/lua]
this is not working…how to i do this? Should i cancel the first popup and load another one with a different url? [import]uid: 59735 topic_id: 17890 reply_id: 317890[/import]