Wednesday, May 28, 2008

set scrrollbar in flash

Hi,
I like to tell how to set a scroll bar for a text box more common way of doing...

  • Create a text box by clicking in the tool bar and place it in the working area.
  • Type as much as words as your wish or need.
  • In the property window set the text type as Dynamic and also specify the name for it.
  • Now right click the text box and give the option scrollable now you can notice a black square in the corner of the text box which represent that it is capable of scrolling .
  • Now open the component window by window->components or just press ctr+f7
  • Inside user interface you can find UIScrollBar drag that into the working area.
  • In the parameter of the UIScrollBar set the _targetInstanceName as the text box name.
  • Now run the file by ctr+enter you can scroll the text in the text box using the scroll bar
let me catch you with some more functions...

2 comments:

Anonymous said...

perhaps it would be useful to readers if you could include a few screenshots in the instructions.
nice tutorial , found it useful

Bala said...

Yes thank you chaitanya i will do that in my next tutorial...
Thanks for your time to spend in my blog and give me a comment on it...