Build 1076 touch events inside scrollView

Hi guys,

I have a code that worked in the previous public build but it doesn’t work in build 1076. scrollView:takeFocus(event) is gone and i can’t find a way to have pictures with touch events into the scrollView.

Here is a piece of my code:

     pic.ontouch = function(event)    

        if event.phase == “moved” then

            local dx = math.abs( event.x - event.xStart )

            local dy = math.abs( event.y - event.yStart )

            if dx > 5 or dy > 5 then

                --doesn’t work any more clip.scroll:takeFocus(event)

            end

        elseif event.phase == “ended” then

                display.getCurrentStage():setFocus(nil)

                makeBig(event.target.ob)

                event.target:removeEventListener(“touch”,pic.ontouch)

        end

        return true

    end

Thanks,

Razvan

I HAVE USED THE WIDGET v1 TO FIX MY PROBLEM FOR NOW… https://github.com/coronalabs/widget-v1