A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: how do i make a scrolling text box thingy

  1. #1
    Junior Member
    Join Date
    Feb 2003
    Location
    Scotland
    Posts
    26

    how do i make a scrolling text box thingy

    Hello,

    Is there an easy way to create a box of text that scrolls using wee arrows that you roll over to move the text up and down?? Any help would be FAB! D

    Cx
    "I Only Smile In The Dark"

  2. #2
    Random without a cause Bartsje's Avatar
    Join Date
    Apr 2003
    Location
    Lalaland
    Posts
    193
    Which version of Flash do you use?

  3. #3
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    Yeah, we need to know which version your using to help you.

  4. #4
    Junior Member
    Join Date
    Feb 2003
    Location
    Scotland
    Posts
    26
    Sorry, am using MX )
    "I Only Smile In The Dark"

  5. #5
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    you can get a basic fla file from http://www.angelfire.com/electronic2...rt/scroll.html in the example it works using

    on (press) {

    }

    and

    on (release) {

    }

    but these can be changed to

    on (rollOver) {

    }

    and

    on (rollOut) {

    }

    if needed

  6. #6
    Junior Member
    Join Date
    Feb 2003
    Location
    Scotland
    Posts
    26
    Cool, thanks for that. If you have any guidelines on the different variables I might be able to change while working with scrolling text boxes, please let me know! I don't really know what can and can't be done!

    Cx
    "I Only Smile In The Dark"

  7. #7
    Junior Member
    Join Date
    Feb 2003
    Location
    Scotland
    Posts
    26
    Actually, while we're on the topic, could anyone let me know if the text that I've inputted for use within the scroll box can be formatted? Different font/bold/italic, etc, and can images be placed within the text?

    Cx

    "I Only Smile In The Dark"

  8. #8
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    if you set the textbox to render html you can use simple html tags in the text for bold, italic, fonts etc see http://www.macromedia.com/support/fl...s/htmltext.htm

    for images (you can also use this to display text) it is probably easiest to use the scrollPane component, simply create a movie clip with the content (images/text etc) inside. next find your clip in the library, right click on its name and select linkage, check the export for actionscript option and fill in the identifer field with some name for the clip.

    now open the components panel and drag a scrollPane onto the stage, you should get the parameters for the scrollPane appear in your properties panel, in the scrollContent field put the instance name you gave your movie clip.

  9. #9
    Junior Member
    Join Date
    Feb 2003
    Location
    Scotland
    Posts
    26
    Crikey, that'll take me a while to work out! (quite new to flash!) One question though - how do I "set the textbox to render html" ?

    Cx
    "I Only Smile In The Dark"

  10. #10
    Junior Member
    Join Date
    Feb 2003
    Location
    Scotland
    Posts
    26
    nevermind, just found it on the link you gave me!
    "I Only Smile In The Dark"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center