Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 09-06-2009, 12:15 PM   #1
Web Developer
shebimangalath's Avatar
Join Date: Sep 2008
Posts: 24
Default [AS3] Yahoo Astra TabBar width problem


How to find the exact width of Yahoo Astra TabBar Component
The output is always 150

Here is my Example:

import fl.data.DataProvider;
import com.yahoo.astra.fl.controls.TabBar;

var tabData:Array = [ "Tab0", "Tab1", "Tab2" , "Tab3" ];

var tabBar:TabBar = new TabBar();
tabBar.move(10, 10);
tabBar.dataProvider = new DataProvider( tabData );
tabBar.selectedIndex = 0;
this.addChild( tabBar );

trace("width: "+ tabBar.width);
Thanks for your help...
shebimangalath is offline   Reply With Quote

Thread Tools
Display Modes 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 Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 12:32 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.