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

<OBJECT> and <EMBED> Tags

Technically, you don’t need to use HTML to display your Flash file, but if you don’t, the SWF file will scale to fit the height of the browser window. If you want to control the appearance of your movie, use HTML to do it.

The <OBJECT> tag, which is used by Internet Explorer on Windows, uses an ActiveX control to play Flash content. The <EMBED> tag, which is used by Internet Explorer on Macintosh and Netscape on both Macintosh and Windows platforms, uses the Netscape plug-in technology to display Flash content. For you as a developer, this means that you need to have both tags sets on your page to make sure that your movie plays. It’s important to nest the <EMBED> tag within the <OBJECT> tag. ActiveX-enabled browsers will ignore the <EMBED> tag inside the <OBJECT> tag. Browsers using Netscape’s Flash plug-in technology will ignore the <OBJECT> tag and will read only the <EMBED> tag.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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