A:If you try to include HTML/JavaScript within Flash. It is surely possible to insert some HTML code in a TextField (see the property .htmlText), but without support for JavaScript.
I would recommend another approach: - Create your Website with HTML and use Flash in some parts, for example to show some animations or animated menus, but not for the whole website.
- A HTML Web page with a little bit Flash is faster, as a whole Flash site.
- HTML opens the possibilty of including JavaScript to implement a lot of useful things (for example Dynamic HTML, AJAX, ...).
- HTML knowledge is neccessary, HTML is the "bread and butter" language of the web.
- Pure Flash sites aren't searchable (and findable) from Google, Yahoo or MSN.
- After a relaunch, Macromedia's website was a short time a pure Flash site, but there were so much rumours about the bad performance and the lack of usability, that Macromedia changes there website back to a HTML site with some Flash parts.