3 Replies Latest reply on Jul 17, 2006 11:33 AM by wgb14

    A Movie in a Window Problem

    wgb14 Level 1
      Hi All,

      I have runned into another problem with my project that i wonder if anyone can help me out. I have a movie in a window that opens in my main project with a simple text-phrase (e.g., say something). I want when the user clicks on this text phrase to activate a spcified lingo script into my main movie. I have set up the whole thing as follows

      on prepareMovie
      global gDemo

      set gDemo to movie ("Greek-English_Non-AIML_Scenario.dir")

      ---Greek-English-Non-AIML_scenario is my main movie in which the movie in a window opens

      The script of the text-phrase is

      on mouseUp

      global gDemo
      tell gDemo to switchToA

      ---switchToA is the script that i want to activate in my main movie

      I get the following error

      "Script error can not perform tell void "

      Any idea what is going on?

      Many thanks for all your valuable help so far