Method | Description |
---|---|
attachContent() | To attach embed movie clip to the touchSCROLLER component. |
loadContent() | To load external swf, jpg or png into the touchSCROLLER component. |
getContent() | Get the loaded content reference of touchSCROLLER component. |
Availability Flash Player 8.
Edition Flash 8.
Usage touchSCROLLER.attachContent(idName)
Parameters idName: String: identifier name of the embed moiveclip.
Returns MoiveClip; Object references of the content.
Description Method; Attach embed movie clip to the touchSCROLLER component.
Code Example :
//"content" is the identifier name
touchScroll_mc.attachContent("content");
Availability Flash Player 8.
Edition Flash 8.
Usage touchSCROLLER.loadContent(url)
Parameters url: String: URL of the external movie , jpg or png.
Please use System.security.allowDomain(domain) function to allow access to external loaded content. You can see http://www.adobe.com/devnet/flash/articles/fplayer8_security.html for more information.
Returns MoiveClip; Object references of the content.
Description Method; To load external swf, jpg or png into the touchSCROLLER component.
Code Example :
//"content" is the identifier name
touchScroll_mc.loadContent("http://www.digicrafts.com.hk/logo.jpg");
No Events
Property | Type | Description | Default Value | Possible Value |
---|---|---|---|---|
identifierName | String | The linkage name of embed movieclip load into the touchscroller. | "" | Any path |
externalSwfName | String | The external filename of movie/picture which load into the touchscroller. Support swf, jpg and png. | "" | Any path |
horizontal | Boolean | Enalble/disable horizontal scrolling. | false | true/false |
enableBorder | Boolean | Enalble/disable border. | true | true/false |
enableBlurEffect | Boolean | Enalble/disable blur effect. | true | true/false |
enableTouchScroll | Boolean | Enalble/disable touch scroll. | true | true/false |
enableScrollWheel | Boolean | Enalble/disable mouse wheel scroll. | true | true/false |
enableScrollBar | Boolean | Enalble/disable scrollbar. | true | true/false |
resizeScrollButton | Boolean | Enalble/disable touchscroll to resize the scroll thumb button. | true | true/false |
reverseTouchScroll | Boolean | Enalble/disable reverse touch scroll direction. | true | true/false |
scrollSpeed | Number | Define the speed of the erase effect. | 0.2 | top / middle / bottom |
snapScroll | Number | Define the value to scroll when click the scroll button. | 0 | horizontal / vertical |
skinName | String | The linkage name of the loader skin. | "" | |
upButtonReference | String | The instance name of the button use to scroll upward. | "" | |
downButtonReference | String | The instance name of the button use to scroll downward. | " |
|