* selector in css ?
-
-
yes, it seems so that - * - isn't valid for flash,
there is nothing in CSS documentation for Flash textfields about that:
http://livedocs.adobe.com/flex/201/langr…StyleSheet.html
best regards,
Klaus -
Thanks
So it's a little bit tricky to use a css for all your text, you have to wrap it in <p> selector or something like this.
There is no way to apply a CSS on all the text with a default textstyle ?
-
it's not too bad to setup a default textstyle for the textfield plugin.
Instead of...
use...
and then your html data would look like...
Code
Display More<data name="html_info_box"> <babble> <h1> <b>Kings Harbor</b> </h1> <h2> <b>Visual Content by Marlin Creek</b> </h2> <br/> <p>Kings Harbor is a mixed-use village situated along the bank of Lake Houston. It offers premier waterfront dining, specialty retail, urban living, and boutique offices.</p> <br/> <br/> <p>To start exploring, simply click on a spot on the map on the left... and close this box.</p> <br/> <br/> <h3> <a href="event:action(close_info);">Close Box</a> </h3> </babble> </data>
Of course "babble" can be replaced with whatever significant nomenclature that you would like.
And in my limited testing... it looks like "babble" will apply unless one of the other styles referenced below it override.
-
-
I'm not sure flash understand body selector, but it's a good idea, I'll give it a try !
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!