salve,
esiste un modo per far cominciare un loop
da un punto preciso?
cioè:
quando il loop viene caricato, all'interno di un .fla,
si può fare in modo che cominci non dall'inizio,
ma da un punto preciso?
il loop è in formato mp3
grazie![]()
salve,
esiste un modo per far cominciare un loop
da un punto preciso?
cioè:
quando il loop viene caricato, all'interno di un .fla,
si può fare in modo che cominci non dall'inizio,
ma da un punto preciso?
il loop è in formato mp3
grazie![]()
Sound.start()
Usage:
my_sound.start([secondOffset, loop])
Parameters:
secondOffset An optional parameter that lets you start playing the sound at a specific point. For example, if you have a 30-second sound and want the sound to start playing in the middle, specify 15 for the secondOffset parameter. The sound is not delayed 15 seconds, but rather starts playing at the 15-second mark.
loop An optional parameter allowing you to specify the number of times the sound should play consecutively.
grazie, ma non ho capito niente, non sono un'esperta
mi potresti dare qualche spiegazione in più? ;-) grazie!
vabè più o meno ho capito, ma forse sarebbe meglio in italiano (...!!!) ;-p
Significa che nell'uso di my_sound.start, al posto di secondOffset puoi mettere come parametro aggiuntivo il secondo esatto in cui vuoi che il tuo suono cominci a riprodursi. Tipo, se il suono dura 30s tu puoi farlo partire da 15. Nel loop metti quante vole vuoi che il suono si riproduca, sempre dal 15mo secondo in poi.Originariamente inviato da harpox
Sound.start()
Usage:
my_sound.start([secondOffset, loop])
Parameters:
secondOffset An optional parameter that lets you start playing the sound at a specific point. For example, if you have a 30-second sound and want the sound to start playing in the middle, specify 15 for the secondOffset parameter. The sound is not delayed 15 seconds, but rather starts playing at the 15-second mark.
loop An optional parameter allowing you to specify the number of times the sound should play consecutively.
Thank you.
Sorry, I don't speak italian.![]()
grazie/thanks,
ma questo funziona sia che il loop lo inserisco nel .fla sia che
lo chiamo (ovviamente sempre nel .fla) come swf ?
ciao![]()
ok,
veramente io intendevo che cominciasse dalla metà della musica, non dalla metà del filmato intero. ;-)
cmq non ho ancora risolto ...