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 -----
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 don’t have any idea how to make an mp3 play in Flex after connecting.

 

 

I haven’t 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.

[EMAIL PROTECTED]

www.dekaydmedia.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




Reply via email to