Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »gregdowning« (23. Juli 2009, 07:53)
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Blockbuster« (27. Juli 2009, 09:48)
Dieser Beitrag wurde bereits 14 mal editiert, zuletzt von »r2d2« (28. Juli 2009, 00:30)
and starting on line 282
Zitat
var myTextFormat:TextFormat = new TextFormat();
myTextFormat.font = xmlData.thumboptions.font_type;
myTextFormat.size = xmlData.thumboptions.font_size;
info_txt.blendMode = BlendMode.LAYER;
info_txt.textColor = xmlData.thumboptions.font_color;
info_txt.setTextFormat(myTextFormat);
info_txt.alpha = xmlData.thumboptions.font_alpha;
info_txt.text = "LOADED "+p +" OF "+(xmlData.pic.length ())+" THUMBNAILS";
I am not clear how to hardcode the font. Would anyone like to enlighten me?
Zitat
//++++ while we are here, we change the text size, color, options
//++++ don't know if this is the best way to do this, but it works, if anyone has a better idea, polease feel free to share it :)
var myTextFormat:TextFormat = new TextFormat();
myTextFormat.font = xmlData.thumboptions.font_type;
myTextFormat.size = xmlData.thumboptions.font_size;
info_txt.blendMode = BlendMode.LAYER;
info_txt.textColor = xmlData.thumboptions.font_color;
info_txt.setTextFormat(myTextFormat);
info_txt.alpha = xmlData.thumboptions.font_alpha;
info_txt.text = String(xmlData.pic.about[targetThumbs]);
}
/*
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »MarcW.« (26. Juli 2009, 13:35)
No problem Job.1, I appreciate you trying to help. The problem is I have changed it in the xml but it still displays the "Wide Latin" my xml isI am sorry ,I make a mistake not in the .fla but in the xml![]()
![]()
but the result can be seen here, http://www.xrez.com/krpano/html/diving.html
Zitat
<images>
<thumboptions>
<ScrollSpeed>25</ScrollSpeed>
<thumbW>140</thumbW>
<ThumbPadding>20</ThumbPadding>
<ShownThumbs>3</ShownThumbs>
<ThumbOffset>0</ThumbOffset>
<thumbH>70</thumbH>
<InitialAlpha>.2</InitialAlpha>
<font_type>Arial</font_type>
<font_size>15</font_size>
<font_alpha>1</font_alpha>
<font_color>0xffffff</font_color>
</thumboptions>