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

Common Methods

Most Flash UI component classes share some common methods among them. These three methods are available in every component class unless noted in the component description.

[component]_mc.connect(nc)

This method initializes the object. The internal initialization process is different for each object, but they will all use this method to attach to a NetConnection and call the function .setUsername() with the name used in the connection process. This method also initializes the server-side ActionScript handlers. The value of nc is the instance name of the active NetConnection object.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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