I'd like to convert a *.cxt file to a *.cst. As proposed in older questions, I put a simple button on the stage and attach the following code:
on mouseUp me
castLib(2).filename = "@/protected.cxt"
tResult = castLib(2).save("@/unprotected.cst")
alert "Saved castLib:" && tResult
However if I try to start the movie, Director triggers an error "Property not found" "#fileName". Does anyone know how to solve this problem?
Thanks in advance.
Do you have a second (external) castLib referenced by the movie/projector? If not, before you publish create a new external castLib (Ctrl+Shift+C), call it e.g. "empty", save the movie and re-publish it (as a projector).