Ciao a tutti come posso ricavare da Sound.position
minuti , secondi ,millesecondi
es: 01 : 36 : 88
grazie
Ciao a tutti come posso ricavare da Sound.position
minuti , secondi ,millesecondi
es: 01 : 36 : 88
grazie
ti basta un' es. ?
![]()
Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
Mechanics & Expert Tuning Fix Z3 Roadster Community
si grazie
non vedo la tua home page..
manda una mail
![]()
Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
Mechanics & Expert Tuning Fix Z3 Roadster Community
avrei lo stesso problema...
ho un file audio che risiede nella libreria...
con attachSound lo carico tranquillamente,
vorrei riportare in flash il tempo che dura è possibile?
come posso fare, mi hnno detto di utilizzare .duration o .position
ma non conosco il funzionamento
es. su loadSound
se un suono è lunghetto, preferisco decisamente averlo esterno +osto che in libreria..
codice:var dmcSound= new Sound(dmc) function charge(){ dmcSound.loadSound("tuo_file.mp3",true); dmc.onEnterFrame = function (){ if(dmcSound.position <= 0 || dmcSound.getBytesLoaded()<dmcSound.getBytesTotal()){ _root.textedmc.text = dmcSound.duration; } else{ delete dmc.onEnterFrame } } } charge(); stop();
Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
Mechanics & Expert Tuning Fix Z3 Roadster Community
io ho questa situazione...
on (release) {
musica1 = new Sound(_root);
musica1.attachSound("suono1");
musica1.start(0,1);
play();
}
devo utilizzare per forza attachSound...
come l'adatteresti?
prova non sono sicuro!Originariamente inviato da Yngwe
io ho questa situazione...
on (release) {
musica1 = new Sound(_root);
musica1.attachSound("suono1");
musica1.start(0,1);
play();
}
_global.istanza = musica1.duration / 1000;
devo utilizzare per forza attachSound...
come l'adatteresti?
mai usato..
Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
Mechanics & Expert Tuning Fix Z3 Roadster Community
scusami ma non capisco!!!
cos'è che non ti è chiaro..?Originariamente inviato da Yngwe
scusami ma non capisco!!!
cerca di dettagliare il + possibile altrimenti quà non ne usciamo + :adhone:
Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
Mechanics & Expert Tuning Fix Z3 Roadster Community