Scroll View with composer

Hi,

im using composer and scroll view.

here’s what i do

create object -->adding multiple object ro scroll view --> adding object to scene group

scrollView:insert( page13 )

scrollView:insert( page14 )

scrollView:insert( page15 )

 sceneGroup:insert( scrollView )

its all works fine.

in the end i remove scene group only.

but then in other scene my apps crash.

is that any relation with screen view ?

is my method correct ?

ScrollView is a widget. Remove the scrollView on scene destroy in composer.

If scrollView then scrollView:removeSelf() scrollView=nil end

ScrollView is a widget. Remove the scrollView on scene destroy in composer.

If scrollView then scrollView:removeSelf() scrollView=nil end

There is a bug when you call composer.removeScene and the scene to be removed has a scrollView.

As mentioned by @yourxlnc, you can do a workaround by manually removing the scrollView.

I submitted that bug on Aug 2014 (case 35105) and got a message from Corona on Nov 14 saying that it was fixed. But I was just creating a new project now and saw that bug again (don’t know if the bug is back or if their fix didn’t work).

There is a bug when you call composer.removeScene and the scene to be removed has a scrollView.

As mentioned by @yourxlnc, you can do a workaround by manually removing the scrollView.

I submitted that bug on Aug 2014 (case 35105) and got a message from Corona on Nov 14 saying that it was fixed. But I was just creating a new project now and saw that bug again (don’t know if the bug is back or if their fix didn’t work).