Loading ...
Sorry, an error occurred while loading the content.

2430TabBar actual width

Expand Messages
  • martizhen
    Mar 8, 2012
      Hi, I'm new to as3 and I'm trying to figure out how to get the actual width of the TabBar object. TabButton width depends on the text content. My TabBar content changes dynamically so at some stage it overflows the container. I need to add a scroller when it happens but I need to know the current width of my tab menu. What I need is a xPosition from drawButtons method of TabBar.as. Is there any way of accessing that? Thanks in advance.
    • Show all 3 messages in this topic