A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Scroll Bar Button Actionscript...

  1. #1
    Member
    Join Date
    Apr 2004
    Posts
    54

    Scroll Bar Button Actionscript...

    Using this tutorial... what would be the actionscript to make holding down the mouse button keep the scroll buttons moving the text down??

    http://www.flashkit.com/tutorials/Te...-942/index.php

    You have to single click those... i want it to let me hold down the mouse button and it scrolls to the end. It doesnt seem to be working...

    Thanks for any help

    - Mikey

  2. #2
    Uses MX 2004 Pro Quixx's Avatar
    Join Date
    Nov 2004
    Location
    U.S.
    Posts
    877
    The following example would be for the scrolling "Up" button.

    Code:
    on (press) {
    	onEnterFrame = function () {
    		scrolltext.scroll -= 1;
    	};
    }
    on (release) {
    	delete onEnterFrame;
    }

  3. #3
    Member
    Join Date
    Apr 2004
    Posts
    54
    Awesome... Perfect... thanks...

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