What can we do if we want to scroll a long text+image+flash animation? Except of using “scroll together” or “drag together” method, I will choose to use flash scrollpane in director. You can use a scroll pane to display any content that is too large for the area into which it is loaded. For example, if you have a large image and only a small space for it in an application, you could load it into a scroll pane. It is very useful if you want to insert an animation or image in your text and make it scrollable.
You can either link a swf (which include animation, text and image) or a jpg/png/gif in scrollpane for display purpose.
1. Go to Windows -> Library palette.
2. Drag the
3. Select scrollpane in stage thenopen your property inspector.
4. In your Flash Component tab, type in your contentpath (for example: @mytext.swf)
5. Modify the properties in flash component tab to you preferable settings. (read the Help file for further informations.)
Download file: Scrollpane.zip
(Right click and select save target as)
æƒ³åœ¨directorçš„å—å¹•é‡ŒåŠ åŠ¨ç”»å’Œå›¾ç‰‡ï¼Œåˆæˆ–è€…æƒ³æ˜¾ç¤ºçš„åŠ¨ç”»/å›¾ç‰‡å¤ªå¤§ï¼Œä½ å¯ä»¥è¯•è¯•directoré‡Œflash scrollpaneã€‚
Flash ScrollPaneèƒ½å¸®ä½ å’Œä½ æƒ³è¦çš„swf/å›¾ç‰‡è¿žçº¿ï¼Œç„¶åŽå¸¦è¿›directoré‡Œä½¿ç”¨ã€‚
ä½ è¿˜èƒ½ç§»åŠ¨åœ¨Flash ScrollPaneé‡Œçš„swf/å›¾ç‰‡ã€‚
è¿™ä¹Ÿé—´æŽ¥è§£å†³äº†director text memberä¸èƒ½åŠ å›¾ç‰‡çš„ç¼ºç‚¹ã€‚
ï¼ˆå¦‚ï¼š @mytext.swf æˆ– http://www.k-director.com/blog/upload/myAnimation.swfï¼‰
Subscribe to get free latest updates by email. Like our Facebook Page.
Leave a Reply
You must be logged in to post a comment.