controlling Director movie with Flash

Ask a Question related to Macromedia Director Basics, Design and Development.

  1. #1

    Default controlling Director movie with Flash

    I have a Director file that has to react to a Flash file. Specifically, I have
    a director file that includes a Flash file. When the swf reaches a certain
    frame, a movie has to pop up within the Director file. How can I accomplished
    this? Is it something that I have to program into the Flash file

    Thanks for your help
    Andre

    AndrewFish Guest

  2. Similar Questions and Discussions

    1. Controlling movie in web Flash Player from another
      I have a movie of a map and a control panel movie both on the same html page. I want to be able to control the right click functionality of the map...
    2. controlling director in flash
      hi peeps needs a code for a flash movie, i have a button on the flash movie and what i need it to do is to go to a marker in director can anyone...
    3. controlling flash movie audio
      I have fallen in LOVE with this forum. I got the answers to my problem so quick and prompt, it saved me alot of research time. Now I am querying...
    4. Controlling frame of Flash movie
      Hello Everyone. I am trying to tell a flash movie to play frame 1 of that movie. I have a seperate button cast member with lingo like this: on...
    5. Director controlling Flash
      Hi, Does anyone know what the lingo is to tell the flash sprite to go to a frame label in a specific scene? I can only find...
  3. #2

    Default Re: controlling Director movie with Flash

    Hi Andre

    If you place a handler in a moviescript you can call this handler from the
    flash movie with
    //----------------------
    // ActionScrip
    getURL("Lingo:handlerName()")

    You can pass a string along with this call if you do like this
    //----------------------
    // ActionScrip
    var param = "someString"
    getURL ('Lingo:handlerName(\"'+(param )+'\")')

    Then in your moviescript place the handler
    //----------------------
    -- Ling
    on handlerName (param
    -- Do whateve
    put para
    en


    // Morte

    [ And - you can also execute a handler inside an object like
    gMyObject.handlerName() if you need to

    Falden Guest

  4. #3

    Default Re: controlling Director movie with Flash

    Thanks for your response, I really appreciate it. Now, keep in mind that I am
    rather new to ActionScript and a complete newbie to Lingo, so bear with me. I
    actually have only one thing I need to do. What I created is a Director movie
    encloses a Flash movie, and the Director movie is controlled by navigation
    throughout the Flash movie. When my Flash movie reaches a specific frame, it
    needs to send a message the Director movie that it's enclosed in to move to a
    specific frame.

    Now,from your reply I'm guessing that in the ActionScript for the frame,
    (naming the handler "handle") that I should write

    getURL("Lingo:handle()");

    Now, about the Lingo script, I have no idea, I just need a script within a
    frame that is triggered by the Flash script to go to another frame within the
    movie

    Thanks again for your help
    Andre

    AndrewFish Guest

  5. #4

    Default Re: controlling Director movie with Flash

    I have made a small example for you to look into

    // Morten
    Falden Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139