Integrating c# and as3 or as2

how can i call dll or communicate from as3/2 to c#?