WebBuilder101 - Making the web happen!
Need Web Dev software? Here is the place to
Flash Point
TUTORIAL INFO
Version: NA
Level: Beginner
Adding SWiSH To Your Emails
Personalise your emails by adding a SWiSH movie to them. This example shows how to incorporate a SWiSH movie into your email by using Stationary in Microsoft Outlook Express, but other email software will use similar methods.

Step One
First you need to create a movie in SWiSH and export it via the File -> Export -> SWF menu options. This will create a smaller, compressed movie able to be read by any email software which supports emails in HTML format.

Step Two
Upload your swf file to the internet. There is a tutorial for doing this here. Note that you only need to upload the swf file - you do not have to export and upload any html code.
Step Three
Now we get on to the clever bit. Modern email software can read emails in HTML format. This means that whatever you can view on the internet can be viewed in an email - you simply write it in HTML. Don't worry, you don't have to learn HTML - you can download an example file here.

Step Four
Let's take a quick look at the HTML file you just downloaded. Open the file in Notepad or a similar simple text editor. Note the code between the the <object> and </object> tags. This is the bit that tells the email to display your SWiSH movie. I have linked this to a .swf file on our own website - you will want to link it to the .swf you uploaded in Step Two. Do this now.

Note that the reference to the .swf file is actually made in two places, you must change them both.

Note also that width and height settings can be made for each reference. If you would prefer for your movie to be displayed at its regular size, just delete the 'width=' and 'height=' values from the HTML.

Step Five
I have also added a bit of text at the bottom, in this case mentioning SWiSH. You may want to change this to your own job description, or a personal message. If you don't want anything added, just remove the text from the HTML.

Step Six
So now you have your SWiSH movie and the code to display it. Next we have to link the HTML code to your outgoing emails. In Outlook Express, this can be done via the Tools -> Options -> Compose menu options. Go to the Stationary option, check the 'Mail' checkbox and then browse to the html file you just downloaded.

The important thing to note here, is that you are adding 'Stationary' to your email. Other email software such as Eudora have this capability, but they may have different menu options to implement it. You should not have to change the HTML code in any way, just consult the appropriate help documentation to find how to add Stationary to your email software.

Step Seven
And that's all there is to it. Send an email to yourself to see how it looks, and go back and edit the HTML as you see fit. If it does not seem to be working, there may be a few settings you need to change...
  • the movie is interpreted by most software as an 'Active X Document' and as such is blocked by higher than normal security settings. If you send an email to somebody, and they have high security settings, they will be prompted with a warning, and the movie will not be displayed. There is nothing you can do about this - it is up to them to change their security settings
  • make sure that the .swf reference in the HTML code is pointing to your .swf file on the internet. The best way to do this is to browse to it directly in a web browser, then copy/paste the url from the browser into the HTML. And remember to change both instances of the reference in the HTML


  • .

     

    More Resources
    Beginner Tutorials
    Intermediate Tutorials
    Advanced Tutorials
    Examples [external link]
    Built In Tutorials [external link]
    Using SWiSH With Other Programs [external link]

    Suggested Reading

    Beginning Active Server Pages 3.0
    JavaScript Bible
    Red Hat Linux
    Dreamweaver 3.0
    HTML Bible



    Download WB101 Wallpaper
    • Web Builder 101 Wallpaper Get it!.
    • Find out how to create your own Wallpaper Teach me!.
    Sign up for our Newsletters
    • Web Building Sign me Up!.
    • Net Alert! Sign me Up!.
    Need Help?
    • Contact Support Click here.
    • E-mail the Webmaster Click Here.
    • Search Tips Click Here.

    Webbuilder101.com © 1998 - 2003 Copyright and Terms of Use
    Send mail to: webmaster@webbuilder101.com

    » About » Support

    » FAQ » What's New » MyLog

    Web Builder 101 Web Builder 101 - Making the Web Happen Web Builder 101 - Making the Web Happen
    .