Is there an issue with the scrollView to stop scrolling?

Hi,
I added a scrollView and inserted some text. When I run it it works fine but then at times when I scroll back up the scroll bar goes away and nothing scrolls anymore. I am using 894 trial. Is the full version more stable?

Thanks,

Warren
[import]uid: 184193 topic_id: 33053 reply_id: 333053[/import]

After playing with it more it seems to happen when I double click when scrolling. When i click the mouse button a lot it goes away. Hope this helps!

Here is my code:

[code]
– function to listen to scrollView events
local function scrollViewListener( event )
local s = event.target – reference to scrollView object

if event.type == “beganScroll” then
print( “beganScroll event type” )

elseif event.type == “endedScroll” then
print( “endedScroll event type” )

elseif event.type == “movingToTopLimit” then
print( “movingToTopLimit event type” )

elseif event.type == “movingToBottomLimit” then
print( “movingToBottomLimit event type” )

elseif event.type == “movingToLeftLimit” then
print( “movingToLeftLimit event type” )

elseif event.type == “movingToRightLimit” then
print( “movingToRightLimit event type” )
end
end

– Called when the scene’s view does not exist:
function scene:createScene( event )

local screenGroup = self.view
imgHeader = display.newImage( “Header.jpg” )
screenGroup:insert( imgHeader )
imgHeader.touch = onSceneTouch
local scrollView = widget.newScrollView{
width = 320,
height = 350,
top = 121,
left = 0,
scrollWidth = 320,
scrollHeight = 1024,
maskFile=“mask.jpg”,
listener = scrollViewListener
}

text1 = display.newText( “Lee Brice Concert\nFriday November 16th 8PM\nCome by saloon for tickets\n\nDance Lessons\nWednesday November 21st 7:30PM\n”, 3, 3, native.systemFontBold, 18 )
text1:setTextColor( 100 )
scrollView:insert( text1 )
end
[/code] [import]uid: 184193 topic_id: 33053 reply_id: 131244[/import]

I believe this was an issue with masking where mask’s were being incorrectly positioned on objects (scrollViews and such)

This was fixed in a daily build after 894, you should have your hands on it in the upcoming public release.

[import]uid: 84637 topic_id: 33053 reply_id: 131274[/import]

After playing with it more it seems to happen when I double click when scrolling. When i click the mouse button a lot it goes away. Hope this helps!

Here is my code:

[code]
– function to listen to scrollView events
local function scrollViewListener( event )
local s = event.target – reference to scrollView object

if event.type == “beganScroll” then
print( “beganScroll event type” )

elseif event.type == “endedScroll” then
print( “endedScroll event type” )

elseif event.type == “movingToTopLimit” then
print( “movingToTopLimit event type” )

elseif event.type == “movingToBottomLimit” then
print( “movingToBottomLimit event type” )

elseif event.type == “movingToLeftLimit” then
print( “movingToLeftLimit event type” )

elseif event.type == “movingToRightLimit” then
print( “movingToRightLimit event type” )
end
end

– Called when the scene’s view does not exist:
function scene:createScene( event )

local screenGroup = self.view
imgHeader = display.newImage( “Header.jpg” )
screenGroup:insert( imgHeader )
imgHeader.touch = onSceneTouch
local scrollView = widget.newScrollView{
width = 320,
height = 350,
top = 121,
left = 0,
scrollWidth = 320,
scrollHeight = 1024,
maskFile=“mask.jpg”,
listener = scrollViewListener
}

text1 = display.newText( “Lee Brice Concert\nFriday November 16th 8PM\nCome by saloon for tickets\n\nDance Lessons\nWednesday November 21st 7:30PM\n”, 3, 3, native.systemFontBold, 18 )
text1:setTextColor( 100 )
scrollView:insert( text1 )
end
[/code] [import]uid: 184193 topic_id: 33053 reply_id: 131244[/import]

I believe this was an issue with masking where mask’s were being incorrectly positioned on objects (scrollViews and such)

This was fixed in a daily build after 894, you should have your hands on it in the upcoming public release.

[import]uid: 84637 topic_id: 33053 reply_id: 131274[/import]