|
I don't know how you do it in the MediaPlayback
component, but playing it via a NetStream is just as simple as:
nc = new NetConnection();
nc.connect("rtmp://yourserver/app");
nc["owner"] = this;
nc.>
{
if(o.code ==
"NetConnection.Connect.Success")
{
this.owner.playMP3();
}
}
function playMP3()
{
myns = new
NetStream(nc);
myns.play("some.mp3");
}
...so, maybe you have to issue a
play("some.mp3")? Not sure of the methods of that component.
----- Original Message -----
From: Dekayd Media Inc.
Sent: Monday, December 12, 2005 12:48 AM
Subject: [flexcoders] Stream mp3's with Flash Media Server and
Flex I want to
use a MediaPlayback component to play an mp3 using Flash Media Server in
Flex. I can
successfully connect to my FMS application but I dont have any idea how to make
an mp3 play in Flex after connecting. I havent
really been able to find a good explanation anywhere online or in the
docs. Any help
would be greatly appreciated. Thanks Kelly
Roman Dekayd
Media Inc. -- 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
|
- Re: [flexcoders] Stream mp3's with Flash Media Server an... JesterXL
- RE: [flexcoders] Stream mp3's with Flash Media Serv... Dekayd Media Inc.
- [flexcoders] Re: Stream mp3's with Flash Media ... Renaun Erickson
- RE: [flexcoders] Re: Stream mp3's with Flas... Dekayd Media Inc.
- [flexcoders] Re: Stream mp3's with Flas... Renaun Erickson

