Creatining an instance of a swf

i was just wondering how i create an instance of a swf for a component in the library in order to change the colours or any other skins…thanks to anyone who can help me!