A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Help: Ipad/Iphone Interface kind of animation

  1. #1
    Junior Member
    Join Date
    Aug 2005
    Posts
    11

    Help: Ipad/Iphone Interface kind of animation

    Does Someone know where to find a tutorial for a animation like the iphone/ipad where you can slide pictures horizontally and the show another picture, the another and you can also slide back.
    It would seem a easy task juts a animation that move forward and backward or left to right.
    The difficult thing is to program the AS for the drag. and when you release at certain point of the movement it move automatically to the closest frame with easing.
    Last edited by jorgemalgom; 05-04-2011 at 10:17 AM.

  2. #2
    Junior Member
    Join Date
    Aug 2005
    Posts
    11
    Any ideas?

  3. #3
    anyone else hear that? flashpipe1's Avatar
    Join Date
    Jan 2003
    Location
    Upstate NY
    Posts
    1,930
    Here's a quick and dirty as3/CS4 example that shows how you would drag and tween two images. You would have to change the tween target to function however you want (have it stop with the image you dragged on, throw some calculation on it so that if they drag it faster, it goes farther, etc.).

    You'll need the Tweenlite classes from http://www.greensock.com/tweenlite/

    This should get you started...

    Hope that helps!
    Attached Files Attached Files
    Love like you've never been hurt, live like there's no tomorrow and dance like nobody's watching.

  4. #4
    Junior Member
    Join Date
    Aug 2005
    Posts
    11
    thanks I'll check this and report any doubt.

    thanks again

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center