Contents |
|
Responsive Layouts | Creating Phone Apps |
This tutorial shows how to add your own HTML to the HTML export. Start a new movie and add a HTML object to the library.
Add some HTML code to the HTML object. This example is a HTML select control. The HTML will be included inline in the HTML export.
Remember to include a 'display:block;' style for the select control. When exported, most HTML controls and objects are hidden by default. This is so the animation can show the control only when needed. To make the select control visible, the display style needs to be changed to block.
Add the HTML object to the library. The HTML code an be seen in the editor. The HTML object can be animated like any other object, but it's content do not scale automatically and it can only be rotated 90 degrees.
When you press play, the HTML object is empty. HTML is not shown in the player.
Play |
When you export the movie, the HTML is included in the export. It is important to note that any mistakes in your HTML could make the export fail.
The HTML select control is now available in the web page.
Responsive Layouts | Creating Phone Apps |