Yes, I was loading the mp3-file by refering with an
URL to it:
snd.load('http://zuse:7080/flash/audio.mp3',true)
This was successful, but not, if I try to transmit the
content of this file with a java-servlet to the
flash-application:
s.loadSound("'http://zuse:7080/flash/flashservlet?ACTION=getAudio'",true);
I have to do it that way, because the mp3-file is
stored in a database, so I have to retrieve it with a
servlet from there.
--- JesterXL <[EMAIL PROTECTED]> wrote:
> Sorry missed this part:
>
> >>> If I load a mp3-file in snd.load function, it is
> > working as well.
>
> Where did you test that; Flash or locally or what?
> You said it worked?
>
> ----- Original Message -----
> From: "Markus Mummert" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, June 24, 2005 12:10 PM
> Subject: Re: [flexcoders] Get Audio from servlet
>
>
> This doesn't work as well. I tried both, false and
> true.
>
> Markus
>
>
> --- JesterXL <[EMAIL PROTECTED]> wrote:
>
> > You tried:
> >
> > var s:Sound = new Sound(this);
> >
>
s.loadSound("'http://zuse:7080/flash/flashservlet?ACTION=getAudio'",
> > true);
> >
> > ???
> >
> > If that doesn't work, try false.
> >
> > ----- Original Message -----
> > From: "mummertm" <[EMAIL PROTECTED]>
> > To: <[email protected]>
> > Sent: Friday, June 24, 2005 10:48 AM
> > Subject: [flexcoders] Get Audio from servlet
> >
> >
> > Hi,
> >
> > I'm an absolute Flex-beginner, thus I need your
> help
> > again.
> > I want to stream a mp3 from a Java-servlet via
> >
> >
>
snd.load('http://zuse:7080/flash/flashservlet?ACTION=getAudio',true);
> >
> > This doesn't work. (I set the content type in the
> > servlet to
> > audio/mpeg.)
> > If I invoke this servlet directly in the browser,
> it
> > is working
> > propery.
> > If I load a mp3-file in snd.load function, it is
> > working as well.
> >
> > Any ideas.
> > Thanks
> > Markus
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ:
> >
>
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> >
>
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
>
>
>
>
> ____________________________________________________
>
> Yahoo! Sports
> Rekindle the Rivalries. Sign up for Fantasy Football
>
> http://football.fantasysports.yahoo.com
>
>
> --
> Flexcoders Mailing List
> FAQ:
>
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
>
http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/