The School for Champions is an educational website that shows you how to achieve your dreams.
![]() |
|
|
SfC Home > ColdFusion > Explanation of how to send a Flash Animation using ColdFusion email - Succeed in ColdFusion Development. Also refer to animation, CFMAIL tag, Microsoft Outlook, HTML, CFML, Ron Kurtus, School for Champions. Copyright © Restrictions Sending a Flash Animation with ColdFusion Emailby Ron Kurtus (revised 5 March 2007) Although it is very difficult to include a Flash animation when sending an email through standard methods, you can include the animation when sending email in ColdFusion. All that is needed is to make some simple modifications to the Flash HTML code and then send the email though the CFMAIL tag. Questions you may have include:
This lesson will answer those questions. There is a mini-quiz near the end of the lesson. Flash in email difficultA major problem in sending Flash animations in email stems from how most email browsers handle HTML. Because of this even the company that makes Flash—Adobe/Macromedia—Flash animations in their promotional emails, such as their newsletter. Instead, they provide a link to a web site. Get around limitationsYou can get around the email browser limitations by sending your email through CFMAIL. ProcessThe process is as follows:
Code modificationsThe modifcations to the Flash HTML code consists of changing every occurance of # to ## and making the link to the SWF absolute (full web address) insteaf of relative. Receiver in HTMLNote that the person receiving the email must have the email application set to reading HTML. Example of codeStart with the typical CFMAIL code <CFMAIL Paste standard Flash code for your movieMake changes similar to those marked in red: <OBJECT classid="clsid:D27CD6E-AE6D-11cf-96B8-4440000" Use full URL instead of just /stuff/animation.swf. <PARAM NAME=movie <PARAM NAME=QUALITY VALUE=HIGH> <EMBED SRC="http://www.mysite/stuff/animation.swf" QUALITY=HIGH
BGCOLOR=##FFFFFF </OBJECT> </CFMAIL> Place SWF fileObviously, you must place the your Flash SWF file in the location on your server that is indicated in your absolute Web address. In the example above, that means in the /stuff/ folder. SummaryIt is difficult to include a Flash animation when sending an email through standard methods. You can include the animation when sending email in ColdFusion with some simple modifications to the Flash HTML code. Always do your best ResourcesThe following resources provide information on this subject. WebsitesBooksMiscellaneousMini-quiz to check your understanding1. Why is it so difficult to send email with Flash animations? 2. What is one main code modification needed? 3. What is a requirement for users to view your Flash animation? If you got all three correct, you are on your way to becoming a Champion in ColdFusion Development. If you had problems, you had better look over the material again. What do you think?Do you have any questions, comments, or opinions on this subject? If so, send an email with your feedback. We will try to get back to you as soon as possible. Share linkFeel free to establish a link from your website to pages in this site. Or use our form to send this link to yourself or a friend. Students and researchersThe Web address of this page is Please include it as a reference in your report, document, or thesis. Where can you go from here?
|
The School for Champions helps you become the type of person that can be can be called a Champion.