Giter Site home page Giter Site logo

touchscrolling's People

Contributors

fljot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

touchscrolling's Issues

How can I use this scroll?

Hi, Pavel!

Yesterday, I'm started to use your TouchScrolling library, but I still can't understand, how to work with it correctly. Could you help, please?

I have a Sprite in a FlashDevelop project and I want to scroll it.
I use the code:

private var touchScroller:TouchScrollModel;
...
touchScroller = new TouchScrollModel();
touchScroller.setViewportSize(stage.stageWidth, stage.stageHeight);

What should I do next? How to link sprite with touchScroller?

I've also tried to use TouchScroller class as follows:

private var touchScroller:TouchScroller;
...
touchScroller = new TouchScroller();
addChild(touchScroller);

and have few errors:

  • TouchScrollManager.as(1797): col: 57 Error:
  • TouchScrollManager.as(1816): col: 40 Error:
  • TouchScrollManager.as(1857): col: 41 Error:
  • TouchScrollManager.as(1903): col: 38 Error:
    Type was not found or was not a compile-time constant: PanGestureEvent.

Please, support me, how can I correctly use your TouchScroller library?

Thanks in advance!

image example?

hello fljot

Is posible to use TouchScrolling in flash cs6 with one image? and is posible add pinch zoom gestures?, I´m trying to implement Gestouch in Greensock ThrowProps + blitMask but i have the same issue always when zoom out the image move to diferent x and y coordinates and dissapear.

The only thing I want is make a simple pinch zoom with scroll for android.

Thanks
Sebas

Actual sample

Hi Pavel,

while evaluating gestouch I stumbled upon your Touchscrolling Lib - but your sample is quite old and I could not get it working with the actual Gestouch master. Could you provide a flex sample how to use your development branch?

Thanks a lot

wrong acceleration

Если "схватить" вверху списка, протащить вниз, немного выждать и отпустить, то список все равно скролится, а по идее не должен, он должен остаться в том же положении, в котором его отпустили, т.к. ускорения уже нет никакого, т.е. его не разгоняли, а просто прокрутили в каком либо направлении.

Плюс вопрос на счет "обратного управления" скролом, например мне нужно прокрутить список до определенной позиции или элемента не трогая сам список, как это сделать? Например если список привязан к скроллбару и пользователь "толкает" не сам список, а воздействует на скроллбар, как следствие хочет увидеть перемещение списка.
Или при выборе элемента в другом списке нужно прокрутить сей компонент к определенной позиции.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.