• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 18. Linking Your Movie to the Web > Task: Use Dynamic Text to Create a Hyp...

Task: Use Dynamic Text to Create a Hyperlink

In this task you'll create HTML within a Flash text block. Follow these steps:

1.
Use the Text tool to create a long block of text (it doesn't matter what you type because the text will be replaced, but make it wide).

2.
With the text block selected, use the Properties panel to set Dynamic Text and associate a variable by typing myText in the “Var:” field. Also, make sure you click the “Render as HTML” button (see Figure 18.5).

Figure 18.5. Selecting Dynamic Text and the HTML option for the text block will allow you to create HTML in Flash.


3.
In the first keyframe, you're going to set the “myText” variable. Therefore, select the first frame and access the Actions panel. Insert the Set Variable Action (under Actions, Variables). In the Variable parameter, type myText. In the Value parameter, type the following:

This is <A HREF="http://www.yahoo.com">Hot</A>.

4.
If you understand the HTML, great. Otherwise, just accept it for now. It will make sense later. Select Publish Preview.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint