Following examples from livedocs, help and a couple of tutorials, I've
tried to load a style sheet into my movie.
Nothing radical, the style sheet is named styles.css and is located in
the same directory as the .swf.
A new TextField.StyleSheet() object has been created. (Actually, all of the
I copied that into a test fla and all works fine for me...
is your css valid? Heres some simple test rules:
p {
color: #00;
font-family: Arial,Helvetica,sans-serif;
font-size: 12px;
display: inline;
}
a:link {
color: #FF00FF;
text-decoration: underline;
}
a:hover{
color: #99;
If you have your SWF's in different directories than your HTML pages you may
need to check/add the BASE attrib in your object/embed.
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_04157
Trace your CSS and check it's actually being loaded.
On 11/18/05, Miles Thompson [EMAIL
3 matches
Mail list logo