Ethic Solutions Free Webmaster Tools
     
Embedding Flash in Email Flash Tutorials : FlashAdvisor.com
Flashadvisor logo
:: Desktop Shortcut
:: Flash Help
Advices from Experts

 Submit Here! · Link to Us · Newsletter · Tell a Friend ·

      Add Tutorial |

 

Advertise here










 

Google

Search WWW   
FlashAdvisor.com

 Home > Tutorials  > Dynamic Content

Embedding Flash in Email

Author: Bill Scott | Email


Advertisement

Had a look for solutions to the embedding flash in Email.

Insert the following code as the source of the email


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<STYLE>
BODY {
MARGIN-top: 0px}
</STYLE>

</HEAD>
<BODY bgColor=#ffffff>

<--ACTIVE MOVIE CONTROL OBJECT FOR EMBEDDING THE FLASH FILE-->
<--Put the full file path to your SWF file in the FILENAME line-->
<OBJECT id=flashembed style="DISPLAY: none"
classid=clsid:05589FA1-C356-11CE-BF01-00AA0055595A width=0 height=0>
<PARAM NAME="Appearance" VALUE="0"><PARAM NAME="AutoStart" VALUE="0">
<PARAM NAME="AllowChangeDisplayMode" VALUE="-1"><PARAM NAME="AllowHideDisplay" VALUE="0">
<PARAM NAME="AllowHideControls" VALUE="-1"><PARAM NAME="AutoRewind" VALUE="-1">
<PARAM NAME="Balance" VALUE="110"><PARAM NAME="CurrentPosition" VALUE="0">
<PARAM NAME="DisplayBackColor" VALUE="0"><PARAM NAME="DisplayForeColor" VALUE="16777215">
<PARAM NAME="DisplayMode" VALUE="0"><PARAM NAME="Enabled" VALUE="-1">
<PARAM NAME="EnableContextMenu" VALUE="-1"><PARAM NAME="EnablePositionControls" VALUE="-1">
<PARAM NAME="EnableSelectionControls" VALUE="0"><PARAM NAME="EnableTracker" VALUE="-1">
<PARAM NAME="Filename" VALUE="wrench.swf">
<PARAM NAME="FullScreenMode" VALUE="0">
<PARAM NAME="MovieWindowSize" VALUE="0"><PARAM NAME="PlayCount" VALUE="1">
<PARAM NAME="Rate" VALUE="1"><PARAM NAME="SelectionStart" VALUE="-1">
<PARAM NAME="SelectionEnd" VALUE="-1"><PARAM NAME="ShowControls" VALUE="-1">
<PARAM NAME="ShowDisplay" VALUE="-1"><PARAM NAME="ShowPositionControls" VALUE="0">
<PARAM NAME="ShowTracker" VALUE="-1"><PARAM NAME="Volume" VALUE="-780">
</OBJECT>


<--Be sure to set your BODY MARGIN above so that any letter text is not underneath the Swish or Flash movie-->
<--Set your Swish or Flash movie SCREEN POSITION here.-->


<SPAN id=flashobj style="position:absolute; left: 0px; top: 0px"></SPAN>
<SCRIPT language=VBS>

xtemp="<object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 id=navmovie "


'Set your Swish or Flash movie SIZE here:
xtemp=xtemp & "style='width: 740px; height: 500px'>"

'Set your Swish or Flash movie BACKGROUND COLOR here:
xtemp=xtemp & "<param name='bgcolor' value='#ffffff'>"

'Set your Swish or Flash movie LOOP VALUE here (loop=TRUE, no looping=FALSE):
xtemp=xtemp & "<param name='loop' value='true'>"


xtemp=xtemp & "<param name=movie value='" & flashembed.Filename & "'>"
xtemp=xtemp & "<param name=scale value='exact fit'><param name=salign value=t>"
xtemp=xtemp & "<param name=quality value=high><param name='play' value='true'>"
xtemp=xtemp & "<param name='menu' value='false'></object>"

flashobj.innerHTML=xtemp
</SCRIPT>


</BODY>
</HTML>



The only things that need to be adjusted are the filename and the width and height of the movie that you are embedding

I have only tested on Outlook Express 5 and it works a charm

| 1 |

Rate This Tutorial :
We hope the information helped you. If you have any questions or comments, please don't hesitate to post them on the Forums section
Submit your Tutorial at Click Here
  

Home | About Us | Contact Us | Feedback | Advertise with us

Best viewed in 800x600 resolution with Internet Explorer.

Site Developed and Hosted by  ethicsolutions.com
All rights reserved with FlashAdvisor

Flash is a registered trademark of Adobe Systems, Inc.

36 users online