Hello :)

where is your function ? :)

var write = function ( message ) {
       trace("> " + message) ;
}

ns.onStatus = function(info) {
  if (info.code == "NetStream.Play.Start")
  {
      write( info.code ) ;
  }
}


???

EKA+ :)


2006/9/12, Christian Pugliese <[EMAIL PROTECTED]>:

can't I call a function inside a ns.onStatus ?
ie:

ns.onStatus = function(info) {
    if(info.code == "NetStream.Play.Start") {
       trace(info.code);
        callTheFunction();
    }
}

the trace line executes, an any other event occurs normally, but the
callTheFunction() is never called?

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to