Adobe Extending Flash Professional CS5 Manual de usuario Pagina 187

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 565
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 186
165
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
var i = 0;
var curTimelines = fl.getDocumentDOM().timelines;
while(i < fl.getDocumentDOM().timelines.length){
alert(curTimelines[i].name);
++i;
}
See also
document.currentTimeline, document.getTimeline()
document.traceBitmap()
Availability
Flash MX 2004.
Usage
document.traceBitmap(threshold, minimumArea, curveFit, cornerThreshold)
Parameters
threshold An integer that controls the number of colors in your traced bitmap. Acceptable values are integers
between 0 and 500.
minimumArea An integer that specifies the radius measured in pixels. Acceptable values are integers between 1 and
1000.
curveFit A string that specifies how smoothly outlines are drawn. Acceptable values are "pixels", "very tight",
"tight", "normal", "smooth", and "very smooth".
cornerThreshold A string that is similar to curveFit, but it pertains to the corners of the bitmap image. Acceptable
values are
"many corners", "normal", and "few corners".
Returns
Nothing.
Description
Method; performs a trace bitmap on the current selection. This method is equivalent to selecting Modify > Bitmap >
Trace Bitmap.
Example
The following example traces the selected bitmap, using the specified parameters:
fl.getDocumentDOM().traceBitmap(0, 500, 'normal', 'normal');
document.translate3DCenter()
Availability
Flash CS4 Professional.
Vista de pagina 186
1 2 ... 182 183 184 185 186 187 188 189 190 191 192 ... 564 565

Comentarios a estos manuales

Sin comentarios