Results 1 to 1 of 1

Thread: Simple Text Scoller I

  1. #1

    Simple Text Scoller I

    I'm going to build some more versions but this is the first one. THere's a working exsample on my site of the scroller.

    Code:
    onClipEvent(enterFrame){
    	ymouse = _root._ymouse;
    	ysimbol = _root.scrollsimsim._y;
    	yval = (ysimbol-ymouse);
    	hhval = _root.scrollsimsim._height/2;
    	hhvaln = _root.scrollsimsim._height/-2;
    	dial = yval+hhval;
    	scrollvalue = Math.round(dial/hhval);
    	if( hhvaln <= dial ){
    		if ( hhval >= dial ){	
    			this.scrollme.scroll += scrollvalue;
    		}
    	}
    }
    Attached Files Attached Files
    : Sometimes I come out of no where to update the Nintendo Cult thread. :
    : Kirupa Nintendo Cult Member 1 : click here to join :

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012