Class com.bumpslide.ui.HorizontalScrollPanel

????
   +--MovieClip
      +--com.bumpslide.ui.ScrollPanel
         +--com.bumpslide.ui.HorizontalScrollPanel

Description

Horizontal Scroll Panel Base Class This is a simple extension of the scroll panel that supports horizontal scrolling. The trick here is to create a vertical scroll panel, and then rotate it -90 on the stage. Then, the content is attach at 90 degrees to compensate. The weird part, then is that a lot of the dimensions (height and width) are backwards in the update function. This class takes care of that messiness. TODO: Make scrollbar work natively in a horizontal mode so we don't have to deal with this.

Field Index

Inherited from ScrollPanel

actualHeight, bg_mc, content_clip, content_mc, contentHeight, contentPath, contentWidth, height, holder_mc, mask_mc, paddingBottom, paddingLeft, paddingMid, paddingRight, paddingTop, scroll_mc, scrollEnabled, width

Method Index

attachContent(), init(), update(), updateScroller()

Inherited from ScrollPanel

_init(), getContentScrollHeight(), hide(), onSizeChange(), reset(), scrollReset(), setSize()

Method Detail

init

function init()

attachContent

function attachContent()

update

function update()

updateScroller

function updateScroller()