Popup not dispaying on the webview

Hi, 

I am trying to show popup with transition style but the problem its not showing up on the webview, but after clicking on button popup displays behind the webview.

I have tried a lot but not succeed yet.

Below is my code

    exit_area = display.newRect(_M.sL, -30 - _M.Ei, _M.w/2 - 40, _M.h + 190)

    exit_area:setFillColor(0, 0, 0)

    exit_area.alpha = 0

    exit_area.isHitTestable = true

    pop_grp:insert(exit_area)

    

  

        

    back_down2 = display.newRect(0, 800,_M.w,200)

       

    back_down2.y = 900 + back_down2.height*0.2

    back_down2:setStrokeColor(0,255,255)

    pop_grp:insert(back_down2)

    

    

    

    local promo_title

    local promo_description

    local promo_valid

        

    

    promo_title = display.newText("Hello ", 0, 0, native.systemFont, 32)

      

       promo_title.text= tostring({title=promo_list.address})

       promo_title.text=tostring(options.title)

       --end

        

    promo_title:setTextColor(0,192,192)

    promo_title:setReferencePoint(display.BottomLeftReferencePoint)

    promo_title.x = 10

    promo_title.y = 900

    pop_grp:insert(promo_title)

    

  

    products_group:insert(pop_grp)

    pop_grp.x = pop_grp.x + _M.w

    

    tnt:newTransition(my, { time=200, delay = 400, alpha = 0.5, transition=easing.outExpo})

    tnt:newTransition(pop_grp, { time=1000, x=40, y=0, transition=easing.outQuad})

please guide me

thanks

Webviews are a native element which don’t play well with Corona display objects that are Open GL based - there is (currently) no way of adding display objects on-top of native objects. Unfortunately you’ll have to rethink your design.

Thanks for your reply,

So i thought that I should use webview two times as per my requirment , but I am having problem in How i can use already allocated/created webview,

local myMap = native.newWebView()

I have already declares myMap as new webview, No what I need is , i want to reuse same webview later on same .lua file

So please guide me

Thanks,

Kirti

Webviews are a native element which don’t play well with Corona display objects that are Open GL based - there is (currently) no way of adding display objects on-top of native objects. Unfortunately you’ll have to rethink your design.

Thanks for your reply,

So i thought that I should use webview two times as per my requirment , but I am having problem in How i can use already allocated/created webview,

local myMap = native.newWebView()

I have already declares myMap as new webview, No what I need is , i want to reuse same webview later on same .lua file

So please guide me

Thanks,

Kirti