tough question for Ansca or Sr. Devs -- scrolling a native input field with rest of screen

I’m trying to slide a data-input screen/form up onto the iPhone display…the screen has both Corona objects and native input fields but they don’t slide up in-sync…native moves much faster than openGL objs.

Can anyone demonstrate an example of in-sync scrolling of Corona (Open GL) objects and Native input fields.

My native fields seem to move up and down MUCH faster than my openGL objects.

It seems to be that changing the Y attribute of the Corona Display Obj Group only takes effect upon the next enterFrame event (so only the last Y change is applied) where as changes to the Y of the native fields seem to occur continuously, and so the “moved” == event.phase is changing the native much faster.

I added the native.y change to the enterFrame handler and that improved the situation but has not fixed it. I’m wondering if anyone else has gotten this working [import]uid: 6175 topic_id: 25521 reply_id: 325521[/import]

How about decreasing the y-value by -1 on all the objects you want to move in your enterFrame function up until y == your desired coord? That should animate it all in sync [import]uid: 14018 topic_id: 25521 reply_id: 103191[/import]

Well…I’ll test that just to see if the pixels are the same for each respective object type, but it won’t actually solve my problem

I simplified my question to keep it on point, but in actuality, the “scroll” is not automated, but manual…the user is pushing the screen up so I need it to scroll at whatever rate the user pushes… [import]uid: 6175 topic_id: 25521 reply_id: 103198[/import]

ok, this was user error…I was adding the native_field to a group and Corona does not like that…the group was being moved as part of the underlying stage, and then the Native objs were getting moved also, and so it made them race ahead of everything else.

problem solved…

but it raises the question–or provides the hint, that something inside of Corona is trying to include native objs as part of a group when the docs say this is unsupported.

Can you now move natives as a group??

also, I noticed that the docs reference event.oldText but not of my event records included this attribute [import]uid: 6175 topic_id: 25521 reply_id: 103231[/import]