Announcement:Materials and articles for ProductCart 5 can be found at our brand new support center.

Create an account to edit articles | See Formatting Syntax for Wiki syntax | We look forward to your contribution!

Table of Contents

Successfully adding a Flash animation to the product description

Overview

You can certainly add a Flash® animation to the detailed product description. In fact, you can do so using the built-in HTML editor. The only thing that you need to be careful about is that your code does not contain comments. That's because line breaks will be lost when the code is retrieved from the database (ProductCart uses a function that performs a series of tasks, including removing line breaks): if there are comments in the Flash object code, when line breaks are removed, the animation will stop being displayed.

Symptoms

A Flash animation added to the product description stops working after the product is edited. If you add it again, it works, but it stops again next time you edit the product and resave it.

Solution

The problem can very easily be resolved by simply removing “comments” from the Flash object code.

If you add a Flash object directly using the HTML editor, no comments are added into the HTML code, and therefore the issue will not occur.


QR Code
QR Code Successfully adding a Flash animation to the product description (generated for current page)