macromedia flash flashcom:
guys: this is a highly simplified version of the helloVid app from the oreilly book: in the fla: stop(); myID = ""; nc = new NetConnection(); nc.setID = function(id){ myID = id; ns = new NetStream(nc); } nc.connect("rtmp:/helloVideo", userNameInput.text); with it, i get a netstream with this below though, i don't. which is crazy , cos it's a copy and paste job. why?: in the fla: stop(); import App; var a = new App(); and as a seperate class file: class App { var myID = ""; var nc; public function App () { nc = new NetConnection(); nc.setID = function(id){ myID = id; var ns = new NetStream(nc); } nc.connect("rtmp:/helloVideo", 'myName'); } }
maybe i'm just a fool. this is no fun at all though. if i can't get even the simplest thing like this to work then why even try to go on further? this is making me feel like sh#t. :( this is no place to get emotional you all probably think. i would normally too i expect. but ffs, how much more basic can it get before it works? yours having-no-fun-at-all
Don't see what you're looking for? Try a search.
|