How to insert Flash banner in html ?

Reply

Join Date: Sep 2009
Posts: 7
Reputation: AjithAnnadurai is an unknown quantity at this point 
Solved Threads: 0
AjithAnnadurai AjithAnnadurai is offline Offline
Newbie Poster

How to insert Flash banner in html ?

 
0
  #1
Sep 8th, 2009
Hi friends i want to know about how to create Big flash banner in html . and also i dont know to create flash video in swf format. please send the code here .......
Reply With Quote Quick reply to this message  
Join Date: Aug 2009
Posts: 12
Reputation: Enthused is an unknown quantity at this point 
Solved Threads: 1
Enthused Enthused is offline Offline
Newbie Poster

Re: How to insert Flash banner in html ?

 
0
  #2
Sep 8th, 2009
Hi this is a script i found, this shows the flash, and if the user doesn't have flash it will show an image.
<SCRIPT LANGUAGE=JavaScript1.1>
<!--
var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	    for (var i = 0; i < words.length; ++i)
	    {
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i]; 
	    }
	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   && (navigator.appVersion.indexOf("Win") != -1)) {
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
	document.write('</SCR' + 'IPT\> \n');
}
if ( MM_FlashCanPlay ) {
		document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
	document.write(' ID="script" WIDTH="306" HEIGHT="296" ALIGN="">');
	document.write(' <PARAM NAME=movie VALUE="originalflashfile.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF>  '); 
	document.write(' <EMBED src="originalflashfile.swf" quality=high bgcolor=#FFFFFF  ');
	document.write(' swLiveConnect=FALSE WIDTH="306" HEIGHT="296" NAME="script" ALIGN=""');
	document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
	document.write(' </EMBED>');
	document.write(' </OBJECT>');
} else{
	document.write('<IMG SRC="alternativeimage.jpg" WIDTH="306" HEIGHT="296" usemap="#script" BORDER=0>');
}
//-->
</SCRIPT><NOSCRIPT><IMG SRC="alternativeimage.jpg" WIDTH="306" HEIGHT="296" usemap="#script" BORDER=0></NOSCRIPT>


just change the originalflashfile.swf to the name of your flash file and directory. And also change the width and height to the same value as your flash file.

and do the same with thealternativeimage.jpg to an alternative image instead of the flash file for the small% of people who don't have flash installed. And also change the height and width to match your image file.

Hope that helps.
Last edited by Enthused; Sep 8th, 2009 at 7:36 pm. Reason: miss placed "f" nothing to worry about
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 7
Reputation: AjithAnnadurai is an unknown quantity at this point 
Solved Threads: 0
AjithAnnadurai AjithAnnadurai is offline Offline
Newbie Poster

Re: How to insert Flash banner in html ?

 
0
  #3
Sep 8th, 2009
i m dont have any flash files . what to do ?
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 79
Reputation: rudevils is an unknown quantity at this point 
Solved Threads: 9
rudevils rudevils is offline Offline
Junior Poster in Training

Re: How to insert Flash banner in html ?

 
0
  #4
Sep 9th, 2009
first u must create your banner in flash, then export your movie in swf format. Now u ready to insert ur banner in any html pages.
If love is blind, why there's a bikini ??

Post your article at Bali Side Notes share your knowledge
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 106
Reputation: surindersharma is an unknown quantity at this point 
Solved Threads: 1
surindersharma surindersharma is offline Offline
Junior Poster

Re: How to insert Flash banner in html ?

 
0
  #5
Sep 11th, 2009
create flash, then export flash file in swf format. Insert swf file in HTML page.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 302
Reputation: sreein1986 is an unknown quantity at this point 
Solved Threads: 33
sreein1986's Avatar
sreein1986 sreein1986 is offline Offline
Posting Whiz

Re: How to insert Flash banner in html ?

 
0
  #6
Sep 12th, 2009
first create a flash banner in adobe flash cs3 and save a file into swf format and insert your swf file in html file using below code
HTML and CSS Syntax (Toggle Plain Text)
  1. <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  2. codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" name="saapsubanim"
  3. WIDTH="778" HEIGHT="229" hspace="0" vspace="0" ALIGN="" id="saapsubanim"> <!-- enter flash file name, width, height -->
  4. <PARAM NAME=movie VALUE="saapsubanim.swf"> <!-- enter flash file name here -->
  5. <PARAM NAME=menu VALUE=false>
  6. <PARAM NAME=quality VALUE=high>
  7. <PARAM NAME=bgcolor VALUE=#DDDDDD>
  8. <param name="SCALE" value="exactfit">
  9. <param name="wmode" value="transparent">
  10. <EMBED src="saapsubanim.swf" WIDTH="778" HEIGHT="229" hspace="0" vspace="0" ALIGN="" menu=false quality=high bgcolor=#DDDDDD NAME="saapsubanim"
  11. TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" scale="exactfit" wmode="transparent"></EMBED>
  12. </OBJECT>
Thanx,
Shiriyal

http://shiriyal.blogspot.com/
if you problem solved add me as a reputation and mark it mark as solved
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 2
Reputation: vijayahurli126 is an unknown quantity at this point 
Solved Threads: 0
vijayahurli126 vijayahurli126 is offline Offline
Newbie Poster

Re: How to insert Flash banner in html ?

 
0
  #7
Sep 12th, 2009
Hi,

This can be done with the help of Dreamweaver. if you have dream weaver in your PC go to insert and import swf file. Hope it will help you.

Thanx,
Vijayalaxmi
Reply With Quote Quick reply to this message  
Reply


Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC