Creating linkage in all images in library

I have 120 images in my library and need to link them all to actinscript:

-right click on image in library --> linkage --> and then check export for actionscript

Is there a way to to them all at once or do I have to continue doing this the hard way??