0 Replies Latest reply on Jun 10, 2007 7:25 PM by bolo972-GhWGNa

    Use a SWC

    bolo972-GhWGNa
      Hello,

      I created a swc in Flash CS3 with the kit.
      edition_tool.swc
      the name of class is ToolBox

      my mxml very simple
      <?xml version="1.0" encoding="UTF-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" xmlns:local="*">
      <local:ToolBox/>
      </mx:Application>

      And when i try to compile my file
      mxmlc edition_tool.mxml -output bin/main.swf -library-path+= edition_tool.swc

      I have this error
      Loading configuration file /Users/bolomichelin/flex_sdk_2/frameworks/flex-config.xml
      /Users/bolomichelin/Documents/Creation_Pro/LordLalex/MediaClip/editionTool/edition_tool.mx ml: Error: Could not resolve <local:ToolBox> to a component implementation.

      Please Help me