Skip navigation
Will Knuth
Currently Being Moderated

Convert *.cxt to *.cst

Feb 9, 2012 1:44 AM

Tags: #cast #lingo #castlib #cxt



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.



  • Currently Being Moderated
    Feb 10, 2012 12:01 AM   in reply to Will Knuth

    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).

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points