Making data binding classes available at runtime

To compile your SWF file, your library must contain SWC files that contain the byte code for the data binding classes and web service classes. If you create data bindings in Flash while authoring, the relevant component classes are automatically added to the library. If you work with data binding and web services at runtime, you must add the classes to your FLA file's library. You can get these SWC files from the Classes common library.

To add the SWC files to your library:

  1. Confirm that your Publish Settings specify ActionScript 2.0.
  2. Select the Classes library (Window > Common Libraries > Classes).
  3. Open the library for your document (Window > Library).
  4. Drag the appropriate SWC files (DataBindingClasses, WebServiceClasses, or both) from the Classes library into your document's library.

For more information on these classes, see Binding class and Web service classes.


Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00002666.html