FORUMS: list search recent posts

Why am I getting this error?

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
shawn eyre
Why am I getting this error?
on Jan 13, 2009 at 5:41:15 pm

Here is the code that I took directly from a flash tutorial off this site.

var nc:NetConnection = new NetConnection();
nc.connect(null);

var ns:NetStream = new NetStream(nc);

theVideo.attachVideo(ns);

ns.play("BEESeq.flv");

But I keep getting this error

1061: Call to a possibly undefined method attachVideo through a reference with static type flash.media:Video.



Return to posts index

Amy Lee Walton
Re: Why am I getting this error?
on Jan 14, 2009 at 10:49:39 pm

this post has the corrections to your format: http://forums.creativecow.net/readpost/190/863282

you're missing about 3 lines... you don't need the lines after addChild(vid);



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]