A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Horizontal Scrolling Text

Threaded View

  1. #1
    Member
    Join Date
    Nov 2005
    Location
    near my PC
    Posts
    46

    Horizontal Scrolling Text

    Hello everybody

    Text on the scroll start and on the scroll end is not readable. scroll.Speed is right, I dont wanna change it. I think, there is missing some scroll.pause on the begining and on the end. (or something like ease in, and ease out, or "speed in", "speed out") Any idea ?



    PHP Code:
    window_txt.text "This is a test to see if I can scroll back and forth."
    scrollTest 0
    newInterval setInterval(makeItScroll30); //this is scroll.Speed 
    function makeItScroll(){ 
        if (
    scrollTest === 0){ 
            if (
    window_txt.hscroll window_txt.maxhscroll ){ 
                
    window_txt.hscroll += 1
            } 
            if (
    window_txt.hscroll >= window_txt.maxhscroll ){ 
                
    scrollTest 1
            } 
        } else { 
            if (
    window_txt.hscroll 0){ 
                
    window_txt.hscroll -= 5
            } 
            if (
    window_txt.hscroll <= 0){ 
                
    scrollTest 0
            } 
        } 

    Attached Files Attached Files

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