TextField
1211
my_text2.embedFonts = true;
my_text2.antiAliasType = "advanced";
my_text2.gridFitType = "pixel";
my_text2.sharpness = 0;
my_text2.setTextFormat(my_format);
var my_text3:TextField = this.createTextField("my_text3",
this.getNextHighestDepth(), 10, 70, 400, 100);
my_text3.text = "This text has sharpness set to -400."
my_text3.embedFonts = true;
my_text3.antiAliasType = "advanced";
my_text3.gridFitType = "pixel";
my_text3.sharpness = -400;
my_text3.setTextFormat(my_format);
If your SWF file includes a version 2 component, use the version 2 components
DepthManager class instead of the
MovieClip.getNextHighestDepth()
method, which is
used in this example.
See also
gridFitType (TextField.gridFitType property)
,
antiAliasType
(TextField.antiAliasType property)
_soundbuftime (TextField._soundbuftime property)
public _soundbuftime : Number
The number of seconds a sound prebuffers before it starts to stream.
For more information and an example, see the
_soundbuftime
global property.
Availability:
ActionScript 1.0; Flash Player 6
See also
_soundbuftime property
NO
TE
Although you can specify this property for a
TextField
object, it is actually a global
property that applies to all sounds loaded, and you can specify its value simply as
_soundbuftime
. Setting this property for a
TextField
object actually sets the global
property
Содержание FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Страница 1: ...ActionScript 2 0 Language Reference ...
Страница 1352: ...1352 ActionScript classes ...