Advertisement

07.18.2008 at 01:53PM PDT, ID: 23578228
[x]
Attachment Details

NetStream publish

Asked by lowsky13 in Macromedia Flash, Scripting Languages, ActionScript

Tags: flash

So if I comment out the last two lines in my code then my swf runs without error and tells me that I have connected. However, when any of the last two lines I get errors.

I get  Error #2126: NetConnection object must be connected...What doe I need to do to get this to work? Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
var livestream:NetConnection = new NetConnection();
livestream.objectEncoding = ObjectEncoding.AMF0;
livestream.client = this;
livestream.addEventListener( NetStatusEvent.NET_STATUS , netStatus );
livestream.connect("rtmp://domain.com/oflaDemo");
 
var hostStream:NetStream = new NetStream(livestream);
hostStream.publish("lecture", "live");
[+][-]07.18.2008 at 02:00PM PDT, ID: 22039771

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 02:16PM PDT, ID: 22039885

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 02:19PM PDT, ID: 22039899

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 02:29PM PDT, ID: 22039960

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 02:33PM PDT, ID: 22039996

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 02:54PM PDT, ID: 22040133

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 03:01PM PDT, ID: 22040185

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Macromedia Flash, Scripting Languages, ActionScript
Tags: flash
Sign Up Now!
Solution Provided By: asaivan
Participating Experts: 1
Solution Grade: A
 
 
[+][-]07.18.2008 at 03:26PM PDT, ID: 22040347

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 03:42PM PDT, ID: 22040434

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 03:43PM PDT, ID: 22040443

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 03:43PM PDT, ID: 22040451

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 03:44PM PDT, ID: 22040456

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628