Author Topic: scroll view problem with itween  (Read 2072 times)

jimbbq

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 25
    • View Profile
scroll view problem with itween
« on: April 09, 2014, 03:53:13 AM »
Hi there

I have a scroll view , a child object to a sprite (a window, see Pic1). Inside the scroll view, there are several scrollable buttons. All is well, until I implemented scale tween to close and open the window. During the closing and opening scale tween, the scrollable buttons stick out of the scroll view! (see pic 2). I also attached a video to show the problem.

Any clue how this can be addressed?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: scroll view problem with itween
« Reply #1 on: April 09, 2014, 04:05:34 AM »
You must use uniform scaling at all times. X, Y and Z scale must be equal.

jimbbq

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 25
    • View Profile
Re: scroll view problem with itween
« Reply #2 on: April 09, 2014, 05:40:46 AM »
thanks!! it works now :)