Hi axi,
This should be achievable using C2. I recently came across a thread where a C2 developer (@NotionGames) had created a fantastic interactive HTML5 website for his cool game 'Super Ubi Land'. Sorry I don't have time to find the thread right now, but you may want to see if you can track it down!
Hope that helps you a little :)