Results 1 to 1 of 1
  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 :

Similar Threads

  1. How can i bring my swf text files into textfield?
    By mikemiked in forum Flash IDE
    Replies: 0
    Last Post: November 27th, 2004, 09:51 AM
  2. CreateTextField text location - simple question
    By Erron in forum ActionScript 2 (and Earlier)
    Replies: 1
    Last Post: November 1st, 2004, 05:06 PM
  3. HTML text formating through Flash
    By ericinho in forum ActionScript 2 (and Earlier)
    Replies: 3
    Last Post: March 13th, 2003, 12:19 PM
  4. Buttons with Text? (simple question)
    By byis in forum Flash IDE
    Replies: 1
    Last Post: October 27th, 2002, 05:47 AM
  5. movie with text fields + changing that text.
    By Clemens in forum ActionScript 2 (and Earlier)
    Replies: 2
    Last Post: July 11th, 2002, 12:40 PM

Bookmarks

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