SlideShare uma empresa Scribd logo
1 de 6
How to insert SWF Flash file to HTML webpage<br />The following solutions apply to the SWF files created by Flash Slideshow Maker with the basic templates.<br />Using the Basic flash templates, Flash Slideshow Maker will create a simple HTML document that inserts the proper tags for displaying the flash slideshow, which is actually a Flash movie with the file extension .swf. <br />However, it's often necessary to incorporate flash slideshows into an existing HTML document, either to insert additional content or to maintain overall site design and organization. <br />This document outlines three basic methods of inserting flash slideshow content into an existing HTML document. You can choose any one out of these three methods to insert SWF to HTML page. <br />Method 1: Using Dreamweaver to insert SWF file to webpage<br />Dreamweaver is a visual HTML editor with built-in objects that allow you to easily insert Flash content. The required HTML tags are automatically inserted by Dreamweaver.<br />Copy the SWF file to the same folder as the HTML document.<br />In Dreamweaver, select the location of the page where you wish to add the Flash content (including inside a div, table cell or frame).<br />Click the Insert Flash button in Dreamweaver's Object palette, or choose Insert> Media > Flash. Browse to and choose the SWF file.<br />Upload both the SWF and HTML files to your Web server, placing them in the same directory.<br />Method 2: Editing the PFM-created HTML page in HTML editor<br />Basic template creates a simple HTML document with a SWF file, the flash code has been embedded into the HTML document. You can simply use these two files and make necessary changes to the HTML document.<br />Copy both the SWF and HTML file to the root or current working directory of your HTML editor.<br />Open the HTML page in your HTML editor and make any desired changes to layout or format of the document.<br />Upload both the SWF and HTML files to your Web server, placing them in the same directory.<br />Method 3: Manually adding the proper tags to an existing web page<br />If you need to incorporate the flash slideshows created by Flash Slideshow Maker into an existing HTML or other type of webpage document, a better way is manually adding the proper tags to the existing page.<br />Web page must contain tags that reference the actual Flash movie file to be opened and played. These tags are the <OBJECT> and <EMBED> tags. <br />The OBJECT tag is used by Internet Explorer on Windows and the EMBED is used by Netscape Navigator (Macintosh and Windows) and Internet Explorer (Macintosh) to direct the browser to load the Macromedia Flash Player. <br />1. Open the PFM-created HTML document in a text or HTML editor<br />2. Copy the HTML code included in the <object> and <embed> tags (see example below) and paste it into the existing HTML document. This should contain the <OBJECT> and <EMBED> tags<br /><object classid=quot;
clsid:d27cdb6e-ae6d-11cf-96b8-444553540000quot;
 codebase=quot;
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0quot;
 width=quot;
777quot;
 height=quot;
528quot;
 id=quot;
techquot;
 align=quot;
middlequot;
><param name=quot;
allowScriptAccessquot;
 value=quot;
sameDomainquot;
 /><param name=quot;
moviequot;
 value=quot;
showcase/flash/fashionshow.swfquot;
 /><param name=quot;
qualityquot;
 value=quot;
highquot;
 /><embed src=quot;
showcase/flash/fashionshow.swfquot;
 quality=quot;
highquot;
 width=quot;
777quot;
 height=quot;
528quot;
 name=quot;
techquot;
 align=quot;
middlequot;
 allowScriptAccess=quot;
sameDomainquot;
 type=quot;
application/x-shockwave-flashquot;
 pluginspage=quot;
http://www.macromedia.com/go/getflashplayerquot;
 /></object><br />In this case, showcase/flash/ is the folder directory, while the fashionshow.swf is the SWF file name. <br />3. Open the existing webpage page, and paste the <object> and <embed> tags into the desired location in the body of the document. This can also be pasted into a table cell or frame.<br />4. Edit the attributes of the tags for the movie.<br />Change the height and width parameters to match the height and width of the movie dimensions or use percentage values, if desired.<br />5. Upload the HTML and SWF files to the same folder on the Web server.<br />Why use these all these HTML tags? What do they do?<br />The OBJECT tag is for Internet Explorer 3.0 or later on Windows 9x/2000/NT/ME/XP platforms or any browser that supports the use of the Flash ActiveX control. <br />The quot;
classidquot;
 must appear exactly as it does in this example. <br />The quot;
codebasequot;
 attribute must also appear exactly as it does in this example; it tells the browser where to find Flash Player for automatic download. Internet Explorer 3.0 or later on Windows 9x/2000/NT/ME/XP will prompt the user with a dialog asking if they would like to auto-install the Flash Player if it's not already installed. This process can occur without the user having to restart the browser.<br />The EMBED tag is for Netscape Navigator 2.0 or later, or browsers that support the use of the Netscape-compatible plugin version of Flash Player. <br />The quot;
pluginspagequot;
 attribute tells the browser where to direct the user to find Flash Player for download if the Player is not already installed. The user would then need to download and run the installer and restart their browser.<br />To ensure that the most browsers will play your Flash Player movies, you should place the EMBED tag nested within the OBJECT tag as shown in the above example. ActiveX-enabled browsers willquot;
ignorequot;
 the EMBED tag inside the OBJECT tag. Netscape and Microsoft browsers using the Flash Plugin will not recognize the OBJECT tag and will read only the EMBED tag. <br />Important Note for FrontPage users<br />Opening and editing HTML documents that contain embedded Flash movies (SWFs) in FrontPage can cause unexpected results. <br />If you use FrontPage, the suggested method for inserting Flash movies into an HTML document is to copy and paste the required OBJECT and EMBED tags, as discussed above. <br />Also, do not double-click the Flash movie in the FrontPage WYSIWIG editor, which will cause FrontPage will replace the pasted information with proprietary tags that won't work correctly when viewed in a Web browser<br />The article resource from http://www.photo-flash-maker.com/insert_swf_to_html.html<br />
How to Insert swf flash in html web site page
How to Insert swf flash in html web site page
How to Insert swf flash in html web site page
How to Insert swf flash in html web site page
How to Insert swf flash in html web site page

Mais conteúdo relacionado

Destaque

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Destaque (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

How to Insert swf flash in html web site page

  • 1. How to insert SWF Flash file to HTML webpage<br />The following solutions apply to the SWF files created by Flash Slideshow Maker with the basic templates.<br />Using the Basic flash templates, Flash Slideshow Maker will create a simple HTML document that inserts the proper tags for displaying the flash slideshow, which is actually a Flash movie with the file extension .swf. <br />However, it's often necessary to incorporate flash slideshows into an existing HTML document, either to insert additional content or to maintain overall site design and organization. <br />This document outlines three basic methods of inserting flash slideshow content into an existing HTML document. You can choose any one out of these three methods to insert SWF to HTML page. <br />Method 1: Using Dreamweaver to insert SWF file to webpage<br />Dreamweaver is a visual HTML editor with built-in objects that allow you to easily insert Flash content. The required HTML tags are automatically inserted by Dreamweaver.<br />Copy the SWF file to the same folder as the HTML document.<br />In Dreamweaver, select the location of the page where you wish to add the Flash content (including inside a div, table cell or frame).<br />Click the Insert Flash button in Dreamweaver's Object palette, or choose Insert> Media > Flash. Browse to and choose the SWF file.<br />Upload both the SWF and HTML files to your Web server, placing them in the same directory.<br />Method 2: Editing the PFM-created HTML page in HTML editor<br />Basic template creates a simple HTML document with a SWF file, the flash code has been embedded into the HTML document. You can simply use these two files and make necessary changes to the HTML document.<br />Copy both the SWF and HTML file to the root or current working directory of your HTML editor.<br />Open the HTML page in your HTML editor and make any desired changes to layout or format of the document.<br />Upload both the SWF and HTML files to your Web server, placing them in the same directory.<br />Method 3: Manually adding the proper tags to an existing web page<br />If you need to incorporate the flash slideshows created by Flash Slideshow Maker into an existing HTML or other type of webpage document, a better way is manually adding the proper tags to the existing page.<br />Web page must contain tags that reference the actual Flash movie file to be opened and played. These tags are the <OBJECT> and <EMBED> tags. <br />The OBJECT tag is used by Internet Explorer on Windows and the EMBED is used by Netscape Navigator (Macintosh and Windows) and Internet Explorer (Macintosh) to direct the browser to load the Macromedia Flash Player. <br />1. Open the PFM-created HTML document in a text or HTML editor<br />2. Copy the HTML code included in the <object> and <embed> tags (see example below) and paste it into the existing HTML document. This should contain the <OBJECT> and <EMBED> tags<br /><object classid=quot; clsid:d27cdb6e-ae6d-11cf-96b8-444553540000quot; codebase=quot; http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0quot; width=quot; 777quot; height=quot; 528quot; id=quot; techquot; align=quot; middlequot; ><param name=quot; allowScriptAccessquot; value=quot; sameDomainquot; /><param name=quot; moviequot; value=quot; showcase/flash/fashionshow.swfquot; /><param name=quot; qualityquot; value=quot; highquot; /><embed src=quot; showcase/flash/fashionshow.swfquot; quality=quot; highquot; width=quot; 777quot; height=quot; 528quot; name=quot; techquot; align=quot; middlequot; allowScriptAccess=quot; sameDomainquot; type=quot; application/x-shockwave-flashquot; pluginspage=quot; http://www.macromedia.com/go/getflashplayerquot; /></object><br />In this case, showcase/flash/ is the folder directory, while the fashionshow.swf is the SWF file name. <br />3. Open the existing webpage page, and paste the <object> and <embed> tags into the desired location in the body of the document. This can also be pasted into a table cell or frame.<br />4. Edit the attributes of the tags for the movie.<br />Change the height and width parameters to match the height and width of the movie dimensions or use percentage values, if desired.<br />5. Upload the HTML and SWF files to the same folder on the Web server.<br />Why use these all these HTML tags? What do they do?<br />The OBJECT tag is for Internet Explorer 3.0 or later on Windows 9x/2000/NT/ME/XP platforms or any browser that supports the use of the Flash ActiveX control. <br />The quot; classidquot; must appear exactly as it does in this example. <br />The quot; codebasequot; attribute must also appear exactly as it does in this example; it tells the browser where to find Flash Player for automatic download. Internet Explorer 3.0 or later on Windows 9x/2000/NT/ME/XP will prompt the user with a dialog asking if they would like to auto-install the Flash Player if it's not already installed. This process can occur without the user having to restart the browser.<br />The EMBED tag is for Netscape Navigator 2.0 or later, or browsers that support the use of the Netscape-compatible plugin version of Flash Player. <br />The quot; pluginspagequot; attribute tells the browser where to direct the user to find Flash Player for download if the Player is not already installed. The user would then need to download and run the installer and restart their browser.<br />To ensure that the most browsers will play your Flash Player movies, you should place the EMBED tag nested within the OBJECT tag as shown in the above example. ActiveX-enabled browsers willquot; ignorequot; the EMBED tag inside the OBJECT tag. Netscape and Microsoft browsers using the Flash Plugin will not recognize the OBJECT tag and will read only the EMBED tag. <br />Important Note for FrontPage users<br />Opening and editing HTML documents that contain embedded Flash movies (SWFs) in FrontPage can cause unexpected results. <br />If you use FrontPage, the suggested method for inserting Flash movies into an HTML document is to copy and paste the required OBJECT and EMBED tags, as discussed above. <br />Also, do not double-click the Flash movie in the FrontPage WYSIWIG editor, which will cause FrontPage will replace the pasted information with proprietary tags that won't work correctly when viewed in a Web browser<br />The article resource from http://www.photo-flash-maker.com/insert_swf_to_html.html<br />