This content has been marked as final. Show 4 replies
A guy from Adobe Consulting told me that you can point to a folder containing SWC files or directly to a SWC in Publish Settings > ActionScript 3.0 > Settings > Classpath as opposed to pointing to a folder with .as files (which a SWC is made of anyway).
Give it a try.
by pointing to the containing SWC folder...
Flash9 seem able to detect the component's classes definition, but it not compiled/merged into swf
i get class not found error when testing the movie.
by direct pointing to SWC, strange thing happen, seem all code not running even there only single line of trace("test");
abd no error.
OK, then. I found this area in the Flash documentation about making data binding classes available at runtime. You should be able to do the same with your SWC:
Making data binding classes available at runtime
To add the SWC files to your library:
- Confirm that your Publish Settings specify ActionScript 3.0.
- Select the Classes library (Window > Common Libraries > Classes).
- Open the library for your document (Window > Library).
- Drag the appropriate SWC files (DataBindingClasses, WebServiceClasses, or both) from the Classes library into your document's library.
but where should i place my SWC so that it will show up in Classes library (Window > Common Libraries > Classes)?