Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

When animating a window, its children views move back to starting positions, why?

I have 2 windows that I can move between. They slide left and right to get from one to the next.

In windowB, I have some views that the user can drag around (game pieces). When the user clicks back to windowA and windowB slides out of view, the moved game pieces return to their starting X,Y. Any idea why?

Do I need to update all of the pieces' X,Y throughout the window animation? I thought their X,Y position was relative to the containing window.

— asked September 10th 2010 by Stephen Babigian
  • animate
  • coordinates
  • iphone
  • slide
  • view
  • window
0 Comments

1 Answer

  • If it's something still needed, I'd suggest you to have a look at this Guide so you may got accurate help from community.

    — answered November 14th 2012 by Eduardo Gomez
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.