AutoScrollManager:鼠标移动到某个区域并且按下时自动滚动的一个类
By Minidxer | August 4, 2008
Flex中鼠标的控制有些时候会成为一种麻烦,比如右键功能(@see Replace the Flex’s Default Right Click Menu),当然还有滚动的功能。Ntt.cc上的发布了一个称为AutoScrollManager的类,可以帮助我们很容易的实现鼠标移动到某个区域并且按下时自动滚动。下面是其问题描述以及原文URL链接:
Problem Summary: In a flex project, I need to insert an object to a object list which is derived from Container component. However, the list has fixed width and height, and the items of the list are too many to display one-time. So i have to scroll the list to the proper position then drag the object from a panel and insert it. I need a convenient way to complete this. I worte an AutoScrollManager utility to help myself.
原文地址:AutoScrollManager Class: Scroll scrollbar when mouse is moving in a specified area and mouse button is down
Topics:
Adobe其他 |
No Comments » |
213 views
Tags: AutoScrollManager, 自动滚动, 鼠标