A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Flash in emai

  1. #1
    Junior Member
    Join Date
    Jun 2004
    Location
    London
    Posts
    7

    Flash in emai

    Hi

    is it possible to put flash into emails?
    Fre$h J

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    Sort of, but you have no control who is able to see them as not all email clients can show Flash content and if they can, its also possible that the user havent enabled it to do so..

    Check an article....

    http://www.sitepoint.com/article/ema...edia-right-way

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Possible but very shaky, to say the least!
    It's in fact usually a link to some .swf on some web space of your's.

    http://www.webreference.com/multimedia/flash/email/

  4. #4
    Banned NTD's Avatar
    Join Date
    Feb 2004
    Posts
    3,438
    Hi,

    I have never really had need to send flash in email, but I came across this tutorial that might be useful.....
    Insert the following code as the source of the email

    code:

    <!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="D:\temp\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>
    '----------------------------------------------------------------------------
    ' Swish/Flash script template, by Bill Scott
    '----------------------------------------------------------------------------
    ' All HTML and script by Bill Scott, February, 2001

    ' billscott@redrivernet.com
    ' <http://lettermanstationery.tripod.com>

    xtemp="<object classid=clsid27CDB6E-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 tried this with a Flash 5 movie a long time ago and it worked using Outlook Express.

    Hope it helps
    NTD

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center