I can't think of any reason why it shouldn't work.

Can you show us what code you have at the moment.