salve.
volevo sapere come si fa a caricare un mp3 in streaming dall'esterno.
ho due soli pulsanti play e stop.
cosa scrivo su ognuno di questi?
saluti.![]()
salve.
volevo sapere come si fa a caricare un mp3 in streaming dall'esterno.
ho due soli pulsanti play e stop.
cosa scrivo su ognuno di questi?
saluti.![]()
...di notte sogno MovieClip....
bene, ho risolto.![]()
ma.....
ora come faccio ad associare una sorta di loading che mi indichi il caricamento del file mp3?
al play ho dato questo:
on (release) {
//Load Streaming mp3 behavior
if(_global.Behaviors == null)_global.Behaviors = {};
if(_global.Behaviors.Sound == null)_global.Behaviors.Sound = {};
if(typeof this.createEmptyMovieClip == 'undefined'){
this._parent.createEmptyMovieClip('BS_audio1',new Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000) );
_global.Behaviors.Sound.audio1 = new Sound(this._parent.BS_audio1);
} else {
this.createEmptyMovieClip('_audio1_',new Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000) );
_global.Behaviors.Sound.audio1 = new Sound(this.BS_audio1);
}
_global.Behaviors.Sound.audio1.loadSound("mp3/a.mp3",true);
}
allo stop questo:
on (release) {
//Stop Sound Behavior
_global.Behaviors.Sound.audio1.stop();
}
che si fa??![]()
ciao![]()
...di notte sogno MovieClip....