actionscript 3 - What is wrong with this as3 piece of code? -


i'm as3 newbie , i'm trying send message through netstream function handle it.

here line sends

  public function _attachlocalvideoandaudio(mutecam:boolean = false, mutemic:boolean =    false):void   {    ...     _outgoingstream.send("flagvideo",true);    ...    }     public function flagv():boolean { var client:object; client.flagvideo=function(flag:boolean):void{     check=flag; } return check; } 

*check defined

i'm using monster debugger debug , seems there problem inner function handles flag. there isn't tutorials on web on netstream.send() wrote code based on saw online.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -