JoelDude:
I'm trying to do something very similar to the original question but I'm having some problems.
Rather than being so vague, and necro-ing a four and a half year old thread, don't you think it would've been simpler to state your exact problem, and post your exact code?