Reputation: 2147
Am new to flash builder (well am actually new to flash in general, just started developing for it a few months ago).
Anyways I just wanted to ask:
1) Is there a way to add swc files after the project is created
2) And is there a way to link some of assets in those swc to classes (for example link a ball asset to a class the implements its functionality. You can do that directly from flash pro CS5.5, but is there a way to do it in flash builder)
Am sure those questions may seem trivial but I couldn't find anything about them
Thanks in advance
Upvotes: 0
Views: 455
Reputation: 25489
I second wvxw's answer.
Another way to add an swc to the project is:
Simply copy the swc into the libs folder of the Flash Builder project.
Upvotes: 0
Reputation:
1) Yup, go to the project settings: right-click the project, select "Properties" from the context menu, go to the "Flex Build Path" tab, switch to the "Library Path" tab, you'll have the tools to manage libraries linked to the project there.
2) I understand your question as if you wanted to link the symbol to the newly created class. The answer is - it depends on the kind of symbol we are talking about.
[Embed(source='library.swf', symbol='symbolName')]
kind of embed. AFAIK, only MP3 sounds can be embedded in this way.Upvotes: 2