Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-27-2007, 07:10 PM   PM User | #1
tomyknoker
Regular Coder

 
Join Date: Mar 2006
Posts: 459
Thanks: 3
Thanked 0 Times in 0 Posts
tomyknoker is an unknown quantity at this point
mouseWheelEnabled 'Broken'

Is it just as simple as adding the bold line into my code to get the scrollwheel to work on the mouse for a text field? If so it aint working!

Code:
function loadTxt(theTxt){
    var lv:LoadVars = new LoadVars();
    lv.onLoad = function(success:Boolean){
        
        if (success){
            my_text.html = true;
            my_text.htmlText = lv.txt;
		my_text.mouseWheelEnabled = true;
        }else{
            trace ("cannot load text!");
        }
    };
    lv.load(theTxt);
}
tomyknoker is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:05 AM.


Advertisement
Log in to turn off these ads.