I wonder if it would work similar to this example. But I will do more research.
I also found this thread.
I am going to try to create a working example based on the above two links.