controlling a sprite in various movies

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

  1. #1

    Default controlling a sprite in various movies

    I want to control the behavior of a sprite that occurs in 3 separate movies. I want the lingo to use If logic that "If the user goes to a specific marker, then set the sprite in 2 different movies to show a code" but if the user goes to a different marker, then the sprite should remain empty.
    Help is needed since the project is rapidly approaching the deadline for completion.
    Thanks in advance.


    mrsr84:)
    mrsr84 Guest

  2. Similar Questions and Discussions

    1. Controlling quicktime movies
      Hi, I am really new to Director so this may seem like a daft question. Is it possible to have a quicktime movie as a cast member but to only play...
    2. controlling outside movies
      I have a button in one movie and I need it to tell another movie (that's in another HTML frame) to play specific frame number. Can some one help me...
    3. Movies controlling movies!
      I need to know if it is possible to control a movie from another movie - let me explain. On the main screen I have four movies which are acting as...
    4. controlling loaded movies
      this is some of the script of my homepage: _root.containerLargeIMG.startDrag() loadMovie(nameLargeImage,_root.mask.containerLargeIMG);...
    5. Controlling different SWF Movies
      Sup guys, I'm pretty new to Flash and all the actionscripts, and I just found out I was in trouble. Actually, I have already posted a message...
  3. #2

    Default Re: controlling a sprite in various movies

    What is the action that you want to use as a test? It sounds like the
    simplest thing to do is to set that field?, text?, member to empty if
    the playback head is at the one marker and set it to the code string if
    the playback head is at the other. In other words, just segment the
    sprite and apply a different behavior to the sprite where the field or
    text member should be empty, or use a different member that has no text
    in it.

    If you want to do this more dynamically then you could use a movie
    script to test for the marker and changes the content accordingly.
    Place that script in an external cast and link the cast to all of the
    movies that need to use it. You will still need to define the event
    that calls the function.

    --
    Rob
    _______
    Rob Dillon
    Team Macromedia
    [url]http://www.ddg-designs.com[/url]
    412-243-9119

    [url]http://www.macromedia.com/software/trial/[/url]
    Rob Dillon Guest

  4. #3

    Default Re: controlling a sprite in various movies

    I am trying to determine if a user has gone to a particular movie and if so, I want a checkbox to show a green check to show "been there, done that" or leave it blank. I am trying to measure the visit using the following code:
    on beginSprite me
    global gonetorecord
    if getpos (gonetorecord, 180) of movie "how compass works" then -- been to 180
    set the member of sprite the currentSpriteNum to member "GCHECK~1"
    else
    set the member of sprite the currentSpriteNum to member "G Checkbox"
    end if
    end

    In another instance, I am trying to determine if the user has successfully passed a test. If so, a code needs to be entered in 2 different movies and the checkbox needs a green check. If the user fails, then a red check goes into the box.

    Hopefully this clarifies the problems that I am having.
    Thanks for the help in advance.
    Nancy

    mrsr84:)
    mrsr84 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