The HTML Alternative content is always rendered. In the rendered page, it is placed within an HTML element, whose ID attribute matches that of the ASPNetFlash WebControl instance. In the case that Flash is available to the user, the WebControl's Flash Movie is written over this content. The HTML Alternative can be defined in 2 ways:
- Using the WebControl Smart Tags (Edit Templates) - Visual Studio 2005 (and above).
- Directly in the ASPX Code View
The HTML alternative can contain any ASPX-style content except for code blocks i.e.: <% Response.Write("Hello World"); %>. To test and debug your HTML alternative, you can set the WebControl's Enabled property to false. Then, when you run the web application, the HTML alternative will render as if your browser could not display the Flash Movie.