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

External Variables

Flash allows you to bring external text into a movie by using ActionScript. You can put the external text in the HTML page or in a completely separate file.

Variables from the HTML Page

You can define the initial value of a variable in the HTML page where the Flash movie is embedded. Why would you want to do this? Well, consider an example like a Flash banner that appears on top of a Web page. Instead of making 30 banners for 30 Web pages, you could make one banner and have the different text in the HTML of each page so that the banner displays a different title on each page. One Flash movie works for all 30 pages.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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