Hi,
I have been double, trouble check and test drive my fla which is to
load a external css and return some trace value.
Well, as you can expect, the traced string was "error loading css".
Why? anyone got some ideas?
below are actionscript and css.
import TextField.StyleSheet;
var font_style:StyleSheet = new StyleSheet();
font_style.onLoad = function(success:Boolean){
if(success){
_root.nextFrame();
trace (font_style.getStyleNames());
}else{
trace("error loading css");
}
}
font_style.load("elements/css/fontstyle.css");
==============================
/* CSS Document */
.plr_style {
font-family: Akzidenz Grotesk;
font-size: 10;
color: #CCCCCC;
font-weight: bold;
text-align: left;
letter-spacing: 1px;
}
please help!!!
K- ( keni
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org