Re: where are html pages stored in the tikiwiki directory structure?
HTML pages (as most things in Tikiwiki) are stored in the database — not as files. The HTML pages are in the tiki_html_pages table.
But it seems that you're really asking... "How to I include Javascript?"... AFAIK, you cannot place Javascript in HTML pages — Tiki strips it out for security reasons. But you cann put Javascript in wiki pages. See this FAQ for details.
To include Flash in a wiki pages, use the Flash plugin.
HTH,
-Rick
Need more help? Try TikiWiki for Dummies Smarties or read my Tiki Blogtext