Link copiato negli appunti
I prossimi tre metodi Javascript per Flash, servono a recuperare e settare le 19 proprietà di base del filmato e dei movieclip. La particolarità sta nel fatto che, per far riferimento alla singola proprietà, non ne utilizzano il nome, ma un numero associato secondo l'ordine di questa tabella:
|
PROPRIETÀ DEI MOVIECLIP
|
|||
|
Proprietà
|
Numero
|
Lettura
|
Scrittura
|
| _x |
0
|
•
|
•
|
| _y |
1
|
•
|
•
|
| _xscale |
2
|
•
|
•
|
| _yscale |
3
|
•
|
•
|
| _currentframe |
4
|
•
|
|
| _totalframes |
5
|
•
|
|
| _alpha |
6
|
•
|
•
|
| _visibility |
7
|
•
|
•
|
| _width |
8
|
•
|
•
|
| _height |
9
|
•
|
•
|
| _rotation |
10
|
•
|
•
|
| _target |
11
|
•
|
|
| _framesloaded |
12
|
•
|
|
| _name |
13
|
•
|
•
|
| _droptarget |
14
|
•
|
|
| _url |
15
|
•
|
|
|
PROPRIETÀ GLOBALI
|
|||
|
Proprietà
|
Numero
|
Lettura
|
Scrittura
|
| _highquality |
16
|
•
|
•
|
| _focusrect |
17
|
•
|
•
|
| _soundbuftime |
18
|
•
|
•
|
Se vuoi aggiornamenti su Development inserisci la tua email nel box qui sotto: