fljot / touchscrolling Goto Github PK
View Code? Open in Web Editor NEWTouchScrollManager ("kinetic" touch scrolling) for AS3 (Flash platform) development
License: MIT License
TouchScrollManager ("kinetic" touch scrolling) for AS3 (Flash platform) development
License: MIT License
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:
Please, support me, how can I correctly use your TouchScroller library?
Thanks in advance!
hello fljot
I'm from China. I'm not very good at Flex, can you generate a sample of the AS3 project?
My Email is [email protected].
Thanks
Sebas
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
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
Если "схватить" вверху списка, протащить вниз, немного выждать и отпустить, то список все равно скролится, а по идее не должен, он должен остаться в том же положении, в котором его отпустили, т.к. ускорения уже нет никакого, т.е. его не разгоняли, а просто прокрутили в каком либо направлении.
Плюс вопрос на счет "обратного управления" скролом, например мне нужно прокрутить список до определенной позиции или элемента не трогая сам список, как это сделать? Например если список привязан к скроллбару и пользователь "толкает" не сам список, а воздействует на скроллбар, как следствие хочет увидеть перемещение списка.
Или при выборе элемента в другом списке нужно прокрутить сей компонент к определенной позиции.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.