Adobe Extending Flash Professional CS5 Manuale Utente Pagina 362

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 361
340
EXTENDING FLASH PROFESSIONAL
Math object
Last updated 5/2/2011
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);
Vedere la pagina 361
1 2 ... 357 358 359 360 361 362 363 364 365 366 367 ... 564 565

Commenti su questo manuale

Nessun commento