Skip to content

fljot/TouchScrolling

Repository files navigation

TouchScrollManager — touch (kinetic) scrolling for AS3 (Flash).

… because there was no descent available.

Usage

See src_examples folder. E.g. https://github.com/fljot/TouchScrolling/blob/master/src_examples/views/GeneralExampleView.mxml

Know issues

  • Snapping on orientation/viewport size/viewport content size change is totally messed up
  • Directional lock needs improvement
  • Lack of ASDoc (current ASDoc comments may be totally inappropriate)

Build

Build is powered by Ant.
1. Make your own build.properties out of build.template.properties by copying and renaming. Fix several path properties (like path to your Flex SDK, Android SDK, etc..).
2. If you are FDT user: set property user.ide to FDT to have faster compilation time and extra tasks like debugger and profiler. If you use other IDE — skip it, there’s a fallback to mxmlc.jar in Ant tasks. If someone knows tasks for FB, IDEA, FD — feel free to add them.
3. Check available Ant tasks and run them.

Hint for compiling for iOS: do it through console interface (Terminal on MacOS) so that IDE would be free and usable. For example:
ant package.ipa -Duser.ide=none

Credits

Pretty lot of code and comments from Adobe Flex spark Scroller. Still need to clean it out and put appropriate Adobe Flex team mentions.
http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as

License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

TouchScrollManager ("kinetic" touch scrolling) for AS3 (Flash platform) development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published