Web Overlay issue. Site just wont load

Hi everyone,

Hope someone can point me in the right direction.

I have the following in my test app
[lua]local options = { hasBackground=false, urlRequest=listener } native.showWebPopup( “http://www.ardrone-flyers.com/”, options )[/lua]

But once compiled for iOS and placed on to my iPhone 4, it will flicker the screen very fast but I end up on the graphic which I have loaded up moments before.

I added the form code from the Resources pages for Web Overlay but still it’s just doig the same. I just can’t seem to have a button that loads a website without a quick flash and back to menu.

Anyone know where I’m going wrong?

Thanks in advance, I’m loving the LUA business with Corona SDK, OMG how much easier is it that Obj-C!! I likey. [import]uid: 19302 topic_id: 6527 reply_id: 306527[/import]

you ever solve your problem?

make sure you have the listener returning true:

local function listener(event)  
--your code  
return true  
end  
  
local options = { hasBackground=false, urlRequest=listener } native.showWebPopup( "http://www.ardrone-flyers.com/", options )  
  

returning false will close the popup [import]uid: 27896 topic_id: 6527 reply_id: 28091[/import]