/ Forside / Teknologi / Multimedie & design / Flash / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Flash
#NavnPoint
bentjuul 4251
molokyle 1978
Klaudi 1488
jhvp 1265
pallenoc 1160
katekismus 1020
Fnollerpi.. 790
slander 510
Flash77 500
10  Dr.Disco 500
Afspille mp3 filer i flash
Fra : Ukendt


Dato : 06-02-05 14:11

Hej
Jeg forsøger at lave en slags jukebox til en bandside -
bandets egne numre skal kunne vælges og afspilles osv.
Da jeg ikke har prøvet det før, vil jeg gerne vide,
om man på samme måde som i et html okument har sine mp3 filer i roden og så
henviser/linker til dem med en botton,
eller om man trækker mp3 ´erne ind på det lag hvor knapperne er og laver et
play-script på knappen
Evt link til en tutorial ville være skønt

vh
Smaug



 
 
Michael (07-02-2005)
Kommentar
Fra : Michael


Dato : 07-02-05 22:58

Sound.loadSoundAvailabilityFlash Player 6. UsagemySound.loadSound("url",
isStreaming)Parametersurl The location on a server of an MP3 sound file.
isStreaming A Boolean value that indicates whether the sound is a streaming
or event sound. ReturnsNothing. DescriptionMethod; loads an MP3 file into an
instance of the Sound object. You can use the isSteaming parameter to
indicate whether the sound is an event or a streaming sound. Event sounds
are completely loaded before they play. They are managed by the ActionScript
Sound object and respond to all methods and properties of this object.
Streaming sounds play while they are downloading. Playback begins when
sufficient data has been received to start the decompressor. As with event
sounds, streaming sounds exist only in virtual memory, they are not
downloaded to the hard drive. ExampleThe following example loads an event
sound: s.loadSound( "http://serverpath:port/mp3filename", false);The
following example loads a streaming sound: loadSound(
"http://serverpath:port/mp3filename", true);Start Flash og tryk "F1"

RTFM ;)

Go´ fornøjelse :)
Michael

--
"For a moment, nothing happened. Then, after a second or so, nothing
continued to happen."

- Hitchhikers guide to the galaxy.


"smaug" <nabsus(a)skalmod.dk> skrev i en meddelelse
news:42061771$0$13740$ba624c82@nntp03.dk.telia.net...
> Hej
> Jeg forsøger at lave en slags jukebox til en bandside -
> bandets egne numre skal kunne vælges og afspilles osv.
> Da jeg ikke har prøvet det før, vil jeg gerne vide,
> om man på samme måde som i et html okument har sine mp3 filer i roden og

> henviser/linker til dem med en botton,
> eller om man trækker mp3 ´erne ind på det lag hvor knapperne er og laver
et
> play-script på knappen
> Evt link til en tutorial ville være skønt
>
> vh
> Smaug
>
>


Ukendt (08-02-2005)
Kommentar
Fra : Ukendt


Dato : 08-02-05 00:20


"Michael" <agentmikie@cFJERNDETTE.dk> skrev i en meddelelse
news:4207e3ec$0$178$edfadb0f@dread11.news.tele.dk...
> Sound.loadSoundAvailabilityFlash Player 6. UsagemySound.loadSound("url",
> isStreaming)Parametersurl The location on a server of an MP3 sound file.
> isStreaming A Boolean value that indicates whether the sound is a
streaming
> or event sound. ReturnsNothing. DescriptionMethod; loads an MP3 file into
an
> instance of the Sound object. You can use the isSteaming parameter to
> indicate whether the sound is an event or a streaming sound. Event sounds
> are completely loaded before they play. They are managed by the
ActionScript
> Sound object and respond to all methods and properties of this object.
> Streaming sounds play while they are downloading. Playback begins when
> sufficient data has been received to start the decompressor. As with event
> sounds, streaming sounds exist only in virtual memory, they are not
> downloaded to the hard drive. ExampleThe following example loads an event
> sound: s.loadSound( "http://serverpath:port/mp3filename", false);The
> following example loads a streaming sound: loadSound(
> "http://serverpath:port/mp3filename", true);Start Flash og tryk "F1"
>
> RTFM ;)
>
> Go´ fornøjelse :)
> Michael
>
> --
Tusind tak (tror jeg nok

Esben



Søg
Reklame
Statistik
Spørgsmål : 177458
Tips : 31962
Nyheder : 719565
Indlæg : 6408169
Brugere : 218881

Månedens bedste
Årets bedste
Sidste års bedste