Technote Details :: Cannot insert flash movies with KTML

Issue

When I insert a flash movie with KTML, the correct <object> tag is generated. However, after saving and previewing the page, an InvalidTag text is displayed instead of the <object> tag. I am using the latest version of KTML and ColdFusion.

Reason

This happens because ColdFusion has a security setting meant to prevent cross-site scripting attacks and which converts all <object> tags with InvalidTag to prevent their execution.

Solution

To fix this, and display flash movies inserted by KTML correctly, add a cfapplication tag and set the scriptProtect setting to none:

<cfapplication scriptProtect = "none">

Home > Support > Knowledge Base > Technote Details
Search the Knowledge Base
© Adobe Systems Romania. All rights reserved.