I have some calloutbuttons that have their callout defined in the
calloutcontent like this:
<s:CalloutButton>
<s:calloutLayout>
<s:VerticalLayout/>
</s:calloutLayout>
<s:calloutContent>
<s:Button label="button 1"/>
<s:Button label="button 2"/>
</s:calloutContent>
</s:CalloutButton>
In my css file, I style all of the callouts like this:
s|Callout {
skinClass : ClassReference("skins.BoxyCalloutSkin");
backgroundColor : #FAFAFA;
backgroundAlpha : 1.0;
contentBackgroundColor : #FAFAFA;
contentBackgroundAlpha : 1.0;
}
If you create your callout separately instead of using calloutContent, you
probably could give it an id or stylename and reference it in the css like
s|Callout#myId or s|Callout.myClass, although I never actually tried to
style only 1 callout differently than the rest.
-----
.
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/Skin-calloutButton-callout-using-css-tp9548p9549.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.