A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Scroll Bar Track Interference

  1. #1
    Member
    Join Date
    Jul 2005
    Location
    Indiana, USA
    Posts
    79

    Scroll Bar Track Interference

    Is there any way to eliminate text overlapping the scroll bar track within the properties section?
    Last edited by Phil1615; 05-04-2009 at 06:35 AM.
    The KoolMoves KoolExchange is one KoolPuppy.

    E-Z Websites

  2. #2
    up to my .as in code Chris_Seahorn's Avatar
    Join Date
    Dec 2004
    Posts
    4,389
    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);

  3. #3
    Member
    Join Date
    Jul 2005
    Location
    Indiana, USA
    Posts
    79
    Thanks Chris, will keep that handy 'til fixed.

    However, the problem movie happens to be in AS1. Chris? Wilbert? Bret? Anyone?
    The KoolMoves KoolExchange is one KoolPuppy.

    E-Z Websites

  4. #4
    up to my .as in code Chris_Seahorn's Avatar
    Join Date
    Dec 2004
    Posts
    4,389
    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);

  5. #5
    Member
    Join Date
    Jul 2005
    Location
    Indiana, USA
    Posts
    79

    resolved Perfect Chris!!!

    Quote Originally Posted by Chris_Seahorn View Post
    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

    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.
    Last edited by Phil1615; 05-04-2009 at 05:45 PM. Reason: Forgot to say thank you.
    The KoolMoves KoolExchange is one KoolPuppy.

    E-Z Websites

  6. #6
    up to my .as in code Chris_Seahorn's Avatar
    Join Date
    Dec 2004
    Posts
    4,389
    Quote Originally Posted by Phil1615 View Post
    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.
    Hahahahaha....sounds familiar

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center