dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: automatic scrolling is not smooth

  1. #1
    Junior Member
    Join Date
    Apr 2001
    Posts
    2
    hi, i'm working on a flash chat room. the problem i'm having is the text is automatically scrolled, but jumps to the first line, then to the maxscroll. i want it to be smooth, and not jump around. here is my code:

    frame 1:
    tellTarget ("/") {
    loadVariablesNum ("update.asp", 0, "POST");
    }

    frame 15:
    /:list = /:list add /:newdialog;

    frame 16:
    /:list.scroll = /:list.maxscroll;
    gotoAndPlay (1);

    i tried moving the frame 16 script to frame 15, and it doesn't scroll at all. i've tried probably 25 different combinations, with no luck on smooth scrolling. any help would be appreciated.

  2. #2
    Registered User
    Join Date
    Nov 2000
    Posts
    122
    what s your frame rate???

    that wont help but try to use the 'with' action instaed of tell target....telltarget is on it s way out....works the same...but better...

  3. #3
    Junior Member
    Join Date
    Apr 2001
    Posts
    2
    My frame rate is 12. This doesn't allow the user to scroll manually. I want it to automatically scroll. It works, it just jumps to the top of the text, then the bottom, which is pretty annoying.

  4. #4
    Registered User
    Join Date
    Nov 2000
    Posts
    122
    i usually use fr 20...

    anyway

    have a look at this tutorial...
    http://www.flashkit.com/tutorials/In...59/index.shtml

    just look at the scrolling part....

    hope it helps


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