• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

NetConnection.setDebugId( ) Method > NetConnection.setDebugId( ) Method

Name

NetConnection.setDebugId( ) Method

Synopsis

                     myNetConnectionObject.setDebugId(id)

Arguments

id

An arbitrary header name that can be recognized by the server.

Description

The setDebugId( ) method is used to specify an identifier for a NetConnection object. Each NetConnection object has an associated identifier that is typically a sequential integer. For example, if you call getDebugId( ) on a NetConnection object that is the only object in your movie, you will receive an ID of 0. To change this to a meaningful value, you can use the setDebugId( ) method.

The code syntax completion of Flash Remoting, as well as the Flash Remoting documentation, lists the syntax as setDebugID (capital I and D), but the correct spelling is setDebugId( ) (lowercase d ).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint