It looks like you made some progress here:
Maybe you can share a sample of your code on a new thread/post with what you did and someone can take a look at what is missing.