Adobe Extending Flash Professional CS4 Manual do Utilizador Página 349

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 348
327
EXTENDING FLASH CS4 PROFESSIONAL
Math object
Example
The following example stores the value for the distance between pt1 and pt2 in the dist variable:
var pt1 = {x:10, y:20}
var pt2 = {x:100, y:200}
var dist = fl.Math.pointDistance(pt1, pt2);
Vista de página 348
1 2 ... 344 345 346 347 348 349 350 351 352 353 354 ... 559 560

Comentários a estes Manuais

Sem comentários