Variables with attachMovie

Hi, i was wondering if it is possible to use attachMovie with variables using flashvars from html.

im kind of new to AS and would like to know if anyone could help me out here

i need to make a single SWF in wich some movieclips can be replaced by others through the html code without editing the swf file.

i already know how to enter the variables on the html, but i dont know how to apply this to attachmovie command in the flash file.

in advance many thx for the help.