Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE FLASH: HomeFlash ForumFlash TutorialsFlash Video TutorialsWeb Streaming ForumAdobe FlashPodcast

Why am I getting this error?

Cow Forums : Adobe Flash

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>
Why am I getting this error?
by shawn eyre 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.



Respond to this post   •   Return to posts index

Re: Why am I getting this error?
by Amy Lee Walton 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);



Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]