Friday, January 8, 2010

How can i make a scrolling bar for my text using actionscript and flash?

how can i make a scrolling bar for my text using actionscript and flash?





im using flash CS4 and actionscript 2, any help will be much appreciated.





thank youHow can i make a scrolling bar for my text using actionscript and flash?
Flash make it very easy by using its in built components. Heres what you do:





1. Create your text box.


2. In the properties panel make the text box Dynamic ( scrolling will only work with Dynamic text boxes), give it an instance name such as myScroller, and set it also to multiline.


3. Fill your text box with the text of your choice.





4. Now go to windows%26gt;components and from the panel that opens up select User Interface and scroll down to UIScrollBar





5. Drag the scroll bar on to the text box





You may need to resize your text box, easiest way it to click the text box and go to properties and change the W: and H: settings.





Test your movie.

No comments:

Post a Comment