|
-
Help with OnClipEvent r.e. Fonts & Scroller
Please refer to:
www.jmrcreative.com/wmc/construction.html
At issue:
A) I want to be able to hover over the up/down buttons and scroll instead of clicking to scroll
B) I want to use a pixel font (i.e., kroeger) instead of arial
Present effects are achieved via this script:
onClipEvent (load){
daTextBox = "<FONT FACE=\"Arial\" SIZE=\"11\" COLOR=\"#FFFFFF\">TEXT GOES HERE</FONT></P>";
scrolling = 0;
frameCounter = 1;
speedFactor = 3;
}
onClipEvent (enterFrame){
if( frameCounter % speedFactor == 0){
if( scrolling == "up" && daTextBox.scroll > 1){
daTextBox.scroll--;
}
else if( scrolling == "down" && daTextBox.scroll < daTextBox.maxscroll){
daTextBox.scroll++;
}
frameCounter = 0;
}
frameCounter++;
}
Much thanks!
Zievfret
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|