;

PDA

Click to See Complete Forum and Search --> : Scroll Bar Track Interference


Phil1615
05-04-2009, 07:32 AM
Is there any way to eliminate text overlapping the scroll bar track within the properties section?

Chris_Seahorn
05-04-2009, 08:08 AM
I had messaged Wilbert earlier in the year about this when wondering what the default behavior was as I was experiencing the same:

This is from him:

var tfmt:TextFormat = new TextFormat();
tfmt.leftMargin = 5;
tfmt.rightMargin = txt1.defaultTextFormat.rightMargin + 10;

txt1.setTextFormat(tfmt);

Phil1615
05-04-2009, 09:24 AM
Thanks Chris, will keep that handy 'til fixed.

However, the problem movie happens to be in AS1. Chris? Wilbert? Bret? Anyone?

Chris_Seahorn
05-04-2009, 05:21 PM
Ok man...now you went and made me change my export settings to AS1...oh how you owe me (kidding) :)

Not much to change:

tfmt = new TextFormat();
tfmt.leftMargin = 5;
tfmt.rightMargin = 30;

txt1.setTextFormat(tfmt);

Phil1615
05-04-2009, 06:43 PM
Ok man...now you went and made me change my export settings to AS1...oh how you owe me (kidding) :)

Would rather owe you than cheat you out of it :zombie:

In any case, I am going to tuck both the AS1 and AS3 script away so I can forget where I placed it a couple months from now. :cap:

Chris_Seahorn
05-04-2009, 07:42 PM
In any case, I am going to tuck both the AS1 and AS3 script away so I can forget where I placed it a couple months from now. :cap:

Hahahahaha....sounds familiar :)