Reputation: 161
I am loading external swf that contain checkbox on the stage. but when I try to load that swf I get an error "Class fl.controls::CheckBox could not be found."
I build the application with pure as3 in flash builder 4 and the external swf made by flash pro cs4
Thanks,
Upvotes: 1
Views: 1970
Reputation: 15955
fl.controls
namespace is a part of Flash Pro.
To integrate with Flash Builder, you can either add the package by SWC or via code:
Adding Flash Components to Flash Builder:
Adding by SWC:
Windows:
C:\Program Files (x86)\Adobe\Adobe Flash CS5.5\Common\Configuration\ActionScript 3.0\libs\flash.swc
Mac OS X:
/Applications/Adobe Flash CS5/Common/Configuration/ActionScript 3.0/libs/flash.swc
Adding by source folder:
Windows:
C:\Program Files (x86)\Adobe\Adobe Flash CS5.5\Common\Configuration\Component Source\ActionScript 3.0\User Interface
Mac OS X:
/Applications/Adobe Flash CS5.5/Common/Configuration/Component Source/ActionScript 3.0/User Interface
Upvotes: 5