Hi Dave,
Thanks for your answer...
I didn't see that was also built for Android...

As i didn't one checkmark like in the icon for iOS...So, it is for this that i didn't imagine that error was because of this...
So now, i could test it in my iPad and it worked...
And about the academy, i am thinking in this each time i am receiving one mail from talking about about the academy...
But for the moment it is quite complicated as i am working and traveling a lot in this moment...But maybe in six months ( normally i will travel less and have more time to do other things ) i can do this...
So about my question of the other post about the meaning of your sentence:
"If the group doesn't contain controls that take up a larger space than you allow for it then it will never scroll."
i deleted all what i had in my test project and i tried to make it only with one picture ( picture 3 of the example ) and the (field c of the example) to make it more simple and try to understand it and test with it, so for this i chooses only one picture and one field to group them.
So i have this code in my stack script:
Code: Select all
on preOpenStack
if the platform is "iphone" then
set the compositorType of this stack to "opengl"
else
set the compositorType of this stack to "software"
end if
set the compositorTileSize of this stack to 32
set the compositorCacheLimit of this stack to (16 * 1024 * 1024)
end preOpenStack
This in my card script:
Code: Select all
on preOpenCard
if the environment is not "mobile" then
exit preOpenCard
end if
-- Use a 'scrolling' layer for our gallery.
set the layerMode of group "gallery" to "scrolling"
-- Turn on 'out-of-bounds' scrolling for our image group
set the unboundedHScroll of group "gallery" to true
set the unboundedVScroll of group "gallery" to true
end preOpenCard
and this in the group that i let the same name (gallery):
Code: Select all
local sScrolling
local sInitialMouseX, sInitialMouseY
local sInitialHScroll, sInitialVScroll
on mouseDown
## Allow the group to scroll
put true into sScrolling
## Record the initial touch position
put item 1 of the mouseLoc into sInitialMouseX
put item 2 of the mouseLoc into sInitialMouseY
## Record the initial hScroll and vScroll
put the vScroll of me into sInitialVScroll
put the hScroll of me into sInitialHScroll
end mouseDown
on mouseMove mouseX, mouseY
## If the screen is being touched then
if sScrolling then
## Calculate how far the touch has moved since it started
put mouseY - sInitialMouseY into tVChange
put mouseX- sInitialMouseX into tHChange
## Reset the hScroll and vScroll to follow the touch
lock screen
set the vScroll of me to sInitialVScroll - tVChange
set the hScroll of me to sInitialHScroll - tHChange
unlock screen
end if
end mouseMove
on mouseRelease
mouseUp
end mouseRelease
on mouseUp
put false into sScrolling
end mouseUp
The size of my stack is the same one as the size of the example stack.
the size of my picture 3 is the same size as the picture 3 of the example and locate in the same place.
and the same for the field c.
But when i try with my project i can't see nothing on my iPad, except that the keyboard is activated (as if it is waiting i will write in the field c).
There are other things that i am not considering??? I think that yes, even if i can't see what as i have nothing in the screen of my iPad...
Regards.