Any idea how to make a scrolling textfield without a scrollbar?

akimannakimann Member Posts: 62
edited November -1 in Working with GS (Mac)
Hi Saladfans,

I tried to make a textfield that scrolls on touch like the contact-list from the iPhone.

Of course I tried things like:

when touch is pressed
constrain attribute self.position.Y to mouse.position.Y

That works only fine as long as you touch the textfield the first time. But when you releases the screen and touch it the second time, the textfield is jumping up or down, depending where you touched.

Any good ideas for this problem?

Comments

  • GingerBGamesGingerBGames Member Posts: 390
    Hello Akimann,

    Simply open Gamesalad, select New, then type in "Scroll" in the text field. In the results, there will be two on the bottom of the results, these are what your looking, they're great templates from FireMaple.
  • akimannakimann Member Posts: 62
    Great! Thank, I will have a look :-)
Sign In or Register to comment.