TabNavigator style
my application:
<mx:style>
.a1{
backgroundimage: embed("image.png");
}
</mx:style>
<mx:tabnavigator tabstylename="a1">
<mx:vbox label="accounts" width="300" height="150"
>
<!-- accounts view goes here. -->
</mx:vbox>
<mx:vbox label="stocks" width="300" height="150">
<!-- stocks view goes here. -->
</mx:vbox>
<mx:vbox label="futures" width="300" height="150">
<!-- futures view goes here. -->
</mx:vbox>
</mx:tabnavigator>
i want put in tabnavigator's tabs background image. setting -backgroundimage: embed("image.png");- in tab's style doesn't help. should change in code?
<mx:style>
.a1{
backgroundimage: embed("image.png");
}
</mx:style>
<mx:tabnavigator tabstylename="a1">
<mx:vbox label="accounts" width="300" height="150"
>
<!-- accounts view goes here. -->
</mx:vbox>
<mx:vbox label="stocks" width="300" height="150">
<!-- stocks view goes here. -->
</mx:vbox>
<mx:vbox label="futures" width="300" height="150">
<!-- futures view goes here. -->
</mx:vbox>
</mx:tabnavigator>
i want put in tabnavigator's tabs background image. setting -backgroundimage: embed("image.png");- in tab's style doesn't help. should change in code?
i having same problem trying set background image on tab style.
i noticed, tabstylename="tabstyle" , selectedtabtextstylename="selectedtab" both work, firsttabstylename="firsttab" , lasttabstylename="firsttab" don't seem have kind of effect on tabs.
i tried using background-image: embed(image.png); , backgroundimage: embed(image.png) url()s nothing worked. has had success applying background image tab navigator tabs or style attribute not working?
i noticed, tabstylename="tabstyle" , selectedtabtextstylename="selectedtab" both work, firsttabstylename="firsttab" , lasttabstylename="firsttab" don't seem have kind of effect on tabs.
i tried using background-image: embed(image.png); , backgroundimage: embed(image.png) url()s nothing worked. has had success applying background image tab navigator tabs or style attribute not working?
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment