The livedocs for Flex 1.5 show references of MediaPlayback,
MediaDisplay and MediaController.  You use them just like you would
the AS v2 Components (Although they are not the same as the v2
components).

Renaun

--- In [email protected], "Dekayd Media Inc." <[EMAIL PROTECTED]>
wrote:
>
> Yea I got it to play that way but I don't really want to write my
own set of
> controls to handle play and stop.
> 
>  
> 
> There must be a way to do it with the MediaPlayback control I just can't
> figure out what it is.
> 
>  
> 
>  
> 
>  
> 
> Anyone else have any suggestions?
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>   _____  
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of JesterXL
> Sent: Monday, December 12, 2005 10:00 AM
> To: [email protected]
> Subject: Re: [flexcoders] Stream mp3's with Flash Media Server and Flex
> 
>  
> 
> 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.onStatus = function(o)
> 
> {
> 
>     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 <mailto:[EMAIL PROTECTED]>  Inc. 
> 
> To: [email protected] 
> 
> 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 
> 
>  
> 
> *      Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>   
> *      To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
>   
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/> . 
> 
>  
> 
>   _____
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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/
 


Reply via email to