This content has been marked as final. Show 2 replies
Can you share your source/script files for others to scrutinize?
Did you refresh the Common Library after you made the change to the symbol? Did the error disappear after a re-start of FW? I'm going to guess the answer is yes, the error went away after a re-start.
If you modify a .JSF file for a symbol during a FW session, the *new* .JSF will not be loaded into FW for that symbol. The new graphic will be placed on the page, but the *old* .JSF somehow resides in memory and is *not* updated. Refreshing/reloading the Common Library does not reload the .JSF files - it only updates the list of files shown in the Common Library panel. You need to re-start FW to get it to see and load the new .JSF file for the updated symbol.
In most cases you can select the updated symbol (the graphic on your page) and then select "Create Symbol Script" from Commands. FW will detect that a script already exists and warn you that any changes or new scripts you create will overwrite the existing script. If you click OK and the .JSF file is not screwed up, you should see the lines for the modifiable objects from your *original* symbol. You can now add a new modifiable field for the new parts in your symbol, and when you save the script it will update to match the new graphic symbol (.PNG) It should now work normally.
I've created several custom rich symbols by hand coding the .JSF files, and I use the appearance of a "drag and drop" error to let me know when I have an error in the code. I'm not sure why that particular error message is displayed - it seems like we should be given a more descriptive error, like "The script does not match the graphic symbol. The editable components may not be modifiable."
Hope this helps,