EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Soundbuftime (Textfield._Soundbuftime Property)

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
NOTE
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

Table of Contents

Related product manuals