Show:

annieUI.MCScroller Class

Extends annie.Scroller
Defined in: libs/MCScroller.js:19
Module: annieUI

Available since 3.1.5

用滚动的方式播放MC,回弹默认关闭,可开启

Item Index

Methods

Methods

MCScroller

(
  • mc
  • rate
  • isVertical
)

构造函数

Parameters:

  • mc annie.MovieClip

    要被滑动的mc

  • rate Number

    mc 灵敏度,值越大滑动越慢,默认为10

  • isVertical Boolean

    是横向还是竖向滑动,默认是竖向

Properties

curFramePos

Unknown

只读,获取当前mc的frame具体值,带小数

isVertical

Unknown public

Defined in libs/MCScroller.js:86

Available since 3.1.5

鼠标滑动的方向,默认纵向

rate

Unknown public

Defined in libs/MCScroller.js:57

Available since 3.1.5

滑动的速率,值越大,滑动越慢,默认是10

Sub-properties: