tags:

views:

231

answers:

1

I have a .swc file and I learned how to add that swc file into the library. I will be happy if any one explain how to use this .swc file into my flex project and run that with an example .

+1  A: 

You need to create a namespace to access members of the swc. For example, in your mxml application tag you would have

... xmlns:mySwc="com.project.foo.*" ...

This gives the alias mySwc to the swc located in com/project/foo. You would then access its class like

<mySwc:swcClass ... />
adamcodes