Swipe up and down between pages

I currently working on an HTML5 based iPad magazine layout. My goal at the moment is to have a single article occupy several vertically stacked pages. Each of these pages is measured out to be 768x1024.
I made each page and converted them to symbols. I then vertically stacked them on top of each other. I animated the timeline for my verticle movements. Each move is 1s and simply slides the current page up, and slides the new page up from the bottom with ease in and ease out applied. Each animation start point is labeled as Part1, Part2, etc.
Since my experience in javascript is extremely limited, I was hoping someone could point me in the right direction for how to code all of this. Basically I just want the user to open the page to part1, read the page, swipe their finger upwards, have part1 lift upwards and have part2 appear from the bottom. Converesely, if they swipe down, the opposite should occure (which I assume is just the animation played in reverse).
Thank you in advance for any help! It is greatly appreciated.

Man thanks for the response! I spent some time reading over and adapting TimJaramillo's swipe code bases as well and I think I have something working well. I'll certainly take a look at the resouces you've pointed me to and see if I can't add to or streamline the code. Here's the post I referenced.
http://forums.adobe.com/message/4792796#4792796
And here's my current code:
// insert code to be run when the composition is fully loaded here
// insert code for compositionReady event here
// GLOBAL VARS --------------------------------------------
this.activePart = 1;
this.partCount = 2;
// swipe
this.swipeStartY;
this.swipeEndY;
this.swipePadding = 60;// prevent swipe when clicking
// JUMP TO / PLAY --------------------------------------------
this.jumpTo = function( arg )
          sym.play("part_"+arg);
// ARROW BTNS --------------------------------------------
this.onSwipeDown = function()
          if( this.activePart > 1 )
                    this.activePart--;
                    sym.playReverse()
this.onSwipeUp = function()
          if( this.activePart < this.partCount )
                    this.activePart++;
                    sym.play()
// SWIPE --------------------------------------------
this.onSwipe = function()
          if( this.swipeStartY < this.swipeEndY - this.swipePadding )
                    this.onSwipeDown();
          }else if( this.swipeEndY < this.swipeStartY - this.swipePadding )
                    this.onSwipeUp();
Thanks again for the assitance! It's greatly appreciated.

Similar Messages

  • Does the mousepad have scrolling function when you swipe up and down on the side?

    I am curious to know if the mousepad has a scrolling feature (swipe up and down on the right side) would scroll webpage.
    I come from Sony laptop and their mousepad has this feature which is convenient rather than using page up and down to scroll webpage.
    thanks.

    It does not have a scrolling function on the side of the touchpad, but it does have multitouch capabilities so you can push two fingers down, start the scroll, and I recently discovered that you can take one finger off and move the one that is still on to the top (or bottom) of the touchpad and it will continue the scroll so it does not scroll a bit, stop, and make you scroll again. A nifty little feature, in my opinion.
    Of course, I am fairly sure all Yogas come with a touchscreen, which is really nice for scrolling as well.

  • Three finger or two finger gesture to move back and forward between pages of file only work on safari, unlike with old os. this new lion won't let me do it. Any help?

    three finger or two finger gesture to move back and forward between pages of file only work on safari, unlike with old os. this new lion won't let me do it. Any help?

    I have decided to dedicate this thread to the wonderful errors of Lion OSX. Each time I find a huge problem with Lion I will make note of it here.
    Today I discovered a new treasure of doggie poop in Lion. No Save As......
    I repeat. No Save As. In text editor I couldn't save the file with a new extension. I finally accomplished this oh so majorly difficult task (because we all know how difficult it should be to save a file with a new extension) by pressing duplicate and then saving a copy of the file with a new extension. Yet then I had to delete the first copy and send it to trash. And of course then I have to secure empty trash because if I have to do this the rest of my mac's life I will be taking up a quarter of percentage of space with duplicate files. So this is the real reason they got rid of Save As: so that it would garble up some extra GB on the ole hard disk.
    So about 20 minutes of my time were wasted while doing my homework and studying for an exam because I had to look up "how to save a file with a new extension in  mac Lion" and then wasted time sitting here and ranting on this forum until someone over at Apple wakes up from their OSX-coma.
    are you freaking kidding me Apple? I mean REALLY?!!!! who the heck designed this?!!! I want to know. I want his or her name and I want to sit down with them and have a long chat. and then I'd probably splash cold water on their face to wake them up.
    I am starting to believe that Apple is Satan.

  • How do I disable the flipping back and forth between pages with PgUp and PgDn? Please tell me that I can!

    As of Firefox 4, it seems to have been decided that PgUp and PgDn are now buttons with which you flip back and forth between pages. To me, this essentially means almost losing valuable information because I actually use those to go up and down pages, so I wonder; How do I disable this new and utterly inconvenient feature?
    Please tell me that I can!

    In your system details, I see this plug installed: ''Macromedia Shockwave for Director Netscape plug-in, version 8.0''
    You also appear to have a later one, though still out of date installed namely, ''Adobe Shockwave for Director Netscape plug-in, version 11.5 ''
    First of all, click the orange Firefox button, go to Add-ons, then Plugins and disable the Macromedia version.
    Then go to http://get.adobe.com/shockwave/ and update the other one.
    If the problem persists afterwards, try running Firefox in [[Safe Mode]]. If it functions properly in that configuration, then one of your add-ons is the culprit.

  • TS1702 I just purchased and down loaded Pages to my iMac.  How do I get Pages over to my iPad?

    I just purchased and down loaded Pages to my iMac.  How do I get the Pages app over to my iPad?

    Kayden66 wrote:
    I will purchase the the Pages app from the app store.  Will the two apps sync?  If how are they synced?
    Through iCloud-> http://www.apple.com/icloud/features/documents.html

  • How do I get my iPhone 4 to swipe up and down?

    How do I get my iPhone to swipe up and down?

    Your question is unclear... However... if you are having issues (and you have not actually stated any...)
    Try this First...
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...
    http://support.apple.com/kb/ht1430

  • My Videos are flipping as I stroll up and down the page

    Hello! FireFox...
    I would like to know if someone can please help me solve this problem.
    I'm experiencing this problem only on blogger and Word-press with my videos flipping when I scroll up and down the page.
    This don't occur when I use yahoo videos... I must admit that this is very annoying.
    By the way, my pages use to flip until I upgraded to Mozilla 6.0...However, that didn't solve my video flipping problem.
    Thanks,

    Try to disable hardware acceleration.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    If disabling hardware acceleration works then check if there is an update available for your graphics display driver.
    If it is Flash files then also try to disable the hardware acceleration in the Flash Player.
    See:
    * https://support.mozilla.com/kb/Cannot+view+full+screen+Flash+videos
    * http://www.youtube.com/swf_test.html (right-click the player: Settings)
    Flash "Display settings" window:
    * http://www.macromedia.com/support/documentation/en/flashplayer/help/help01.html

  • I have a problem with bookmarks page not allowing me to move up and down the page on the "show all bbokmarks" "bookmarks menu"page

    I am trying to set up Sync to enable me to use bookmarks on my desktop and laptop. When I have either one using sync, I can open the bookmarks page using "show all bookmarks" "Bookmarks menu" .But when i try to navigate the page, the page locks up and I can not page up and down the page. the page seems to be locked. Any ideas or should I delete the account and attempt to start over?

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    You can also try to repair the places database with this extension:
    *https://addons.mozilla.org/firefox/addon/places-maintenance/

  • Why can't i scroll up and down in pages

    I have created a newsletter in pages.  All of a sudden I cannot scroll up or down to move between page 1 and 2 of my document.  The only way I can get to page 2 is if I zoom out to about 50%.  Then I cannot read the font.  So frustrating.  How do I fix this?

    Check your settings (gestures) in System Preferences > Trackpad
    Sometimes just a restart can help.

  • How do I go back and forth between pages?

    It is very simple feature, but I can't seem to figure out where the arrows are to go back and forth between web pages.

    Make sure that you do not run Firefox in Full Screen mode with all toolbars hidden.
    * Press F11 to toggle full screen mode (Firefox/File > Full Screen)
    If the menu bar is hidden then press the F10 key or hold down the Alt key, that should make the menu bar appear.
    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
    * If items are missing then open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout"
    * If a missing item is in the toolbar palette then drag it back from the Customize window on the toolbar
    * If you do not see an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar set up.
    See also:
    * http://kb.mozillazine.org/Toolbar_customization
    * https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • Ever since installing firefox 4, i can no longer use my finger type joystick on my keyboard for automatic scrolling up and down a page. Any suggestions?

    I have three buttons below my space bar which function, basically like the left-click, right- click buttons on a mouse but the middle button, when held down, should allow me to move the joystick up or down to continuously scroll up or down a page. Now, it doesn't work. This is a function I really like. If I cannot resolve this, how do I remove Firefox 4 and go back to my previous edition of Firefox?

    Thanks for the suggestion - i checked and scrolling is activated. Which fits with the fact that it works in every other application apart from firefox. Any otehr ideas?
    thanks os much!

  • Website portion of screen flickers up and down if page size is reduced

    I made three connections to Firefox Chat support for this question. All my chat connections with a support person end abruptly (timeout??) without me doing anything.
    I am running Sony VAIO w/Windows XP SP3, everything up to date. I made Foxfire my primary internet application.
    If I open Firefox, other than my homepage, and reduce the screen size so I can see a second application running behind the Firefox page, the reduced Firefox website active page shakes up and down, does not go black. Only the reduced page website section shakes, not the Foxfire toolbar section and the Foxfire chat page did not shake during the chat.
    I am running Firefox add-on extensions Java Console 6.0.16 - 6.0.22, Java Quick Starter 1.0, and Microsoft .NET Framework Assistant 1.2.1
    Could this be something related to refresh rate?

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Adobe Flash 16 and 17 cause safari & Firefox browsers to jump up and down the page

    Running MAC Pro 2010   10.10.2 Yosemite - Version 15 of adobe Flash was working fine. When version 16 came out the problems started with web pages jumping up and down and not being able to type/ edit things as web page jumps up or down away???  I Used the adobe Uninstaller , restarted the MAC, looked for the files in the library adobe said to look for ( non were there) and tried to install Adobe ver 15 of flash
    And it starts to install, then the install window turns BLACK then the error message says install failed?? Try again? I have tried this a few times and always the same message.
    Any idea how to install this older version 15??

    It's not really the politics -- we're all pretty friendly on an engineering level (the business stuff is competitive, but that's always the case), but in how serious the security landscape is.  There are armies of people reverse-engineering and weaponizing bugs in all popular products (often times way more people than work on the products themselves), and the time it takes to reverse-engineer the patches in a current version to weaponize and use against older versions is really short now.  If you're not staying updated, you're a sitting duck.
    If you look at this from an immunology perspective, what we don't want is an epidemic, so just like we do with childhood diseases, we want to maintain herd immunity.  If 95% of the population is patched, it's difficult to deploy malware that spreads like wildfire.  If you have a population that never updates (it used to take about 6 months for the majority Flash users to pick up the latest version, now it's closer to 48 hours with background update), even attacks that you've already fixed remain viable for months.  If attacks have a short shelf-life, this pushes up the cost of developing the attack to where it's out of reach for most bad actors.
    The Extended Support Release I linked to above *is* an older version of Flash, but it has all the latest security updates.  It also won't be blocked by Safari.  If the problem goes away, it's something that we broke in a new feature.  If it doesn't, it's fallout from a security change, and I'd like to get more info on how to reproduce it, so we can try and fix it for the next patch update.

  • With Lion, I'm finding it difficult sometimes to scroll up and down the page, because the "slide" isn't always visible.

    How can I easily scroll up and down without seeing the little slide bar on the right of my screen?
    Thanks,

    System Preferences -> General, set "Show scroll bars" to Always.

  • IPhone 5S swipe up and down problem iOS 8.0.2

    Hi,
    Since updating to iOS 8.0.2 on my iPhone 5S I am having problems after a few hours of turning the phone on.
    Swiping up for quick settings etc.. and down for Today and Notifications stops working and the only way to get it working again
    is to turn the phone off and on again.
    Does anyone have this problem too!
    I usually miss notifications and really need this function.
    Please help.

    Hello ss1997,
    Thanks for using Apple Support Communities.
    To troubleshoot this issue where your iPhone will not boot past the Apple logo please follow the steps in the article below.
    iOS: Not responding or does not turn on
    Take care,
    Alex H.

Maybe you are looking for

  • IPod Shuffle and Windows 98se

    Why can't the iPod Shuffle work with Windows 98se? Ever since the introduction of Windows 2000 and XP, I have resisted upgrading because of some of the security and privacy issues. Now it seems, the iPod shuffle is dragging me, kicking and screaming,

  • Windows Task Bar Icon (Access 2013)

    This is my first database I created from scratch in Access 2013, and I am not sure how to change my Windows Task Bar Icon use the Application Icon.  Not a huge deal, but to keep consistency between my systems, it would be nice to resolve.   How does

  • WebLogic Portal not starting

    Hi Folks, I downloaded and installed weblogic 6.1 and weblogic portal 4.0. The weblogic server starts and runs with no problems. When I try starting the portal server I get the following error. Does anybody know whats causing this? <May 20, 2002 8:48

  • Variables with fixed value

    Is there in Java an operator that allow to a variable only a fixed set of values. For example the variable char color have only these value: "red","yellow",.. "etc".

  • Hi. I recently purchased and downloaded an album from itunes, but I realized that I'm missing a song. how can i re download it?

    Hi. I recently purchased and downloaded an album from itunes, but I realized that I'm missing a song. how can i re download it?