User Tag List

Results 1 to 7 of 7

Thread: itouch scroll

  1. #1
    No Products Registered

    Join Date
    Feb 2007
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    itouch scroll

    hello,

    i'm intersted in making a menu like what you might find on the iphone or ipod touch, where you can flick with the mouse to scroll with varying speeds depending on the strength of the flick.

    I tried first calculating the strength by finding the distance between 2 objects, one positioned when the mouse button is clicked then the other positioned on mouse release, then applied the distance to the menu and slowly decrease speed, but it doesnt work very well.

    Any ideas or examples?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Saml's Avatar
    Join Date
    Jan 2009
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: itouch scroll

    You can use the mouse object to get the mouse speed, but from there I can't help ya anymore.

  3. #3
    No Products Registered

    Join Date
    Feb 2007
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: itouch scroll

    Thanks, but i can't seem to find any commands for mouse speed in the mouse object.

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: itouch scroll

    Find the difference between Ymouse in the current frame and Ymouse in the previous frame.

    To do this you will need to constantly save the value of ymouse one frame behind. Then do ymouse-oldymouse to find the difference. That will give you the number of pixels the mouse has moved vertically.

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: itouch scroll

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=170882&#Post170 882

    ^ Because i'm in a giving mood.

  6. #6
    No Products Registered

    Join Date
    Feb 2007
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: itouch scroll

    Thanks Saint Nick, much appreciated and merry christmas.

  7. #7
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: itouch scroll

    Ho ho ho!

Similar Threads

  1. Particular scroll
    By septeven in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 5th March 2012, 05:00 PM
  2. MMF not building for 2nd Gen iTouch - solution
    By AndyH in forum iOS Export Module Version 2.0
    Replies: 4
    Last Post: 21st October 2011, 04:13 PM
  3. scroll bug?
    By MrMan in forum Hardware Accelerated Runtime
    Replies: 3
    Last Post: 27th September 2009, 06:09 PM
  4. iTouch apps
    By Stephen38 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 14th June 2008, 06:40 PM

Posting Permissions

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