I'm trying to insert a swf file in my page (Dreamweaver CS4 on a Mac). This is what happens:
1. I click on "insert swf" from the Insert Menu.
2. I select the swf file from the "select file" window.
3. I give it a Title for the Accessibility window.
4. Then I get the following message:
"Making this change would require changing code that is locked by a template or translator. The change will be discarded."
Then I am returned to my page, and nothing has happened. No swf file inserted. No code has been written. Nothing.
I just added a swf file last week with no problems. Now I can't.
I deleted the Dreamweaver cache, but that didn't solve it.
Any ideas what's going on?
Solved it myself.
The problem was that I'm using PHP includes and the header include did not have the link to the "swfobject_modified.js" file that Dreamweaver creates, and since it was an "include", apparently Dreamweaver couldn't figure out where to write the code, or something like that.
Anyway, I modified the page to add the script without a PHP include and everything is working normally.