homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

Scrolling button

 4:47 pm on Mar 29, 2005 (gmt 0)

Hi - I have created a text box with two buttons that when you click on either up or down the text scrolls. This is the action code I used which I found on the net.

on (release) {

But, what I really want my 'up' 'down' buttons to do is when you click, or roll ever them the text smoothly scrolls. At the moment it is very jerk as it only moves on each click. Would love a suggestion. Thanks - HAMM



 8:59 am on Mar 30, 2005 (gmt 0)

you could use something along the lines of,

onMouseOver set a variable (e.g. over) to equal one, and onMouseout set it to 0.

Then, use an onEnterFrame to check if that variable =1, and if it does, bio.scroll+=1; else bio.scroll+=0;


 9:26 am on Mar 31, 2005 (gmt 0)

Thanks. I will give that a try

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved