Adobe Extending Flash Professional CS4 Manual de usuario Pagina 57

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 560
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 56
35
EXTENDING FLASH CS4 PROFESSIONAL
BitmapInstance object
Example
The following code gets the height of the bitmap in pixels:
// Get the number of pixels in the vertical dimension.
var bmObj = fl.getDocumentDOM().selection[0];
var isBitmap = bmObj.instanceType;
if(isBitmap == "bitmap"){
var numVerticalPixels = bmObj.vPixels;
}
See also
bitmapInstance.hPixels
Vista de pagina 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 559 560

Comentarios a estos manuales

Sin comentarios