# CSS and Rollover Scrolling ? HELP

**URL:** <https://forum.kirupa.com/t/css-and-rollover-scrolling-help/137242>\
**Category:** Uncategorized\
**Created:** [February 12, 2005, 4:27pm UTC](https://forum.kirupa.com/t/css-and-rollover-scrolling-help/137242 "2005-02-12T16:27:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aerojonny](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@aerojonny](https://forum.kirupa.com/u/aerojonny)\
**Post date:** [February 12, 2005, 4:27pm UTC](https://forum.kirupa.com/t/css-and-rollover-scrolling-help/137242/1 "2005-02-12T16:27:43Z")

</div>

Before I toss my laptop into the creek, I need help on a simple CSS /AS / functionality issue…

How do I combine this??

I have a textbox that gets this text and is controll by 2 arrows that can scroll the text by rolling over the button/mcs. The text is loaded like so:

loadVariablesNum(“ProjRollText2.txt”, 0);

Now, I want to use a CSS page to format it and I use:

var format = new TextField.StyleSheet();  
var path = “cmc.css”;  
format.load(path);  
format.onLoad = function(success) {  
if (success) {  
output.styleSheet = format;  
myLoadVar = new LoadVars();  
myLoadVar.load(“ProjRollText2.txt”);  
myLoadVar.onLoad = function(success) {  
if (success == true) {  
output.variable = “textbox1”;  
output.htmlText = myLoadVar.textbox1;  
}  
};  
} else {  
output.text = “Error loading CSS file!”;  
}  
};

That works great but I loose the text and scrolling…

Then I will need to make that text talk to a CF page…

AnyIdeas…
