![]() For our example, we’ll just add two text boxes. Now that the variable has been set, we can start to add elements to the skin. Select the showtext variable and then click, Add Variables to Skin. ![]() You’ll see a table of the variable we added in the Animation Editor. Open via the HTML5 output properties or use the keyboard shortcuts, Command-K (macOS) or Control-K (windows).Ĭlick inside the Canvas to reveal the skin properties. In the Skin Editor, we’ll add this variable, a few text boxes, and actions that react to a change in the variable. So far, we’ve added two keyframes that change the variable’s value. The second keyframe will indicate when the second textbox should appear while the first box should hide. Give it a different value from the first keyframe. This first keyframe indicates when the first textbox will appear. Since the type of our variable is text, we’ll add a text value: text1. If a skin is already selected in the HTML5 Output panel, a list of the defined variables will be available when adding additional tracks. Variables can also be defined in the skin. ![]() For example, our variable will be called, showtext. Set the skin variable name for this track. Right-click in the track header and choose, Add Track > New or choose Add Track from the Animation menu. ![]() 1 Add Variable KeyframesĪdd an additional track. First, the additional track will be created in the animation editor, and then actions will be assigned to skin elements based on the changing variable in the animation editor. In this example, we will show and hide text boxes at a certain point in time using a variable. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |