Working with data binding and web services at runtime (Flash Professional only)

You can work with data binding and web services at runtime without using any of the authoring features, such as the Binding and Schema panels in the Component Inspector panel or the WebServiceConnector component. You can do this by creating instances of the DataBinding or WebService classes. For more information, see Binding class (you may need to update your Help system to see this information) and WebService class (you may need to update your Help system to see this information).

The byte code for the DataBinding and WebService classes is contained within SWC files that must be present in your library in order to compile and generate your output SWF file. These SWC files are contained within the Classes common library.

To add the SWC files to your library:

  1. Select the Classes library by selecting Windows > Other Panels > Common Libraries > Classes.
  2. Open the library for your document by selecting Window > Library.
  3. Drag the appropriate SWC file or files (DataBindingClasses and/or WebServiceClasses) from the Classes library into your document's library.

    Note: This is the only way to get the needed classes into your document so that it will compile and run.