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

  1. #1

    Default How to avoid this

    Hi,

    I have a project where when the user scroll over the buttons a picture or movie display on the screen. All works fine, but moving between movies and the pointer where to be moved over one of the buttons which would display a movie everything goes haywire. All the pictures and movies for that movie is then displayed at once and only disappear once the pointer is moved over each button.

    Will adding a loading script prevent this or will it have no effect on the pointer.

    If not is there any other suggestions?

    Thanks


    WWX webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Avoid coping homepage ??
      Hi al, What should i do so people cant copy or save my homepage? Regards Sasha
    2. How can I avoid NaN
      When my .swf loads the variables from the .txt file (days=2&hours=17&minutes=10&seconds=56), the swf file starts and shows seconds "56" for one...
    3. Avoid SmartNavigation
      I've done some investigating about various problems with the SmartNavigation feature. It seems to me that the general consensus is to avoid...
    4. Avoid Insert
      I have an insert page and have written some javascript to validate the page. The validation works great but I need to stop the insert if the user...
    5. how to avoid authentication
      Hi All users should authenticate to reach some page. How to avoid this for some users. Thanks Konrad
  3. #2

    Default Re: How to avoid this

    Sorry, but could you rephrase your question? I really have no idea what's
    happening by what you've said. If you could refer to your Director program
    as a "movie", and digital videos as "video" it might enable us to understand
    where your problem is.

    -M

    WWX <webforumsuser@macromedia.com> wrote in message
    news:br1v2b$f9r$1@forums.macromedia.com...
    > Hi,
    >
    > I have a project where when the user scroll over the buttons a picture or
    movie display on the screen. All works fine, but moving between movies and
    the pointer where to be moved over one of the buttons which would display a
    movie everything goes haywire. All the pictures and movies for that movie is
    then displayed at once and only disappear once the pointer is moved over
    each button.
    >
    > Will adding a loading script prevent this or will it have no effect on the
    pointer.
    >
    > If not is there any other suggestions?
    >
    > Thanks
    >
    >

    MGaston Guest

  4. #3

    Default Re: How to avoid this

    Okay,

    I have a project with a number of movies. The buttons in the movies has been setup to display images or videos when the user moves over them at a differant location on the stage than the button it self.

    The problem I have is, moving from one movie to another. Should the user moves the mouse around during this time and the pointer goes over a button with a video display associated with it, then all then other button's images/videos are displayed on the stage.

    This collage states on the stages until the pointer is moved over each button, from then onward everything thing works fine. Also should the pointer not be moved over a button will the movie loads everything runs smoothly.

    Hope this is a better explanation.

    Thanks



    WWX webforumsuser@macromedia.com Guest

  5. #4

    Default Re: How to avoid this

    "WWX" [email]webforumsuser@macromedia.com[/email] wrote:
    > Okay,
    >
    > I have a project with a number of movies. The buttons in the movies has been setup to display images or videos when the user moves over them at a differant location on the stage than the button it self.
    >
    > The problem I have is, moving from one movie to another. Should the user moves the mouse around during this time and the pointer goes over a button with a video display associated with it, then all then other button's images/videos are displayed on the stage.
    >
    > This collage states on the stages until the pointer is moved over each button, from then onward everything thing works fine. Also should the pointer not be moved over a button will the movie loads everything runs smoothly.
    >
    > Hope this is a better explanation.
    >
    > Thanks
    >
    It is difficult to say for sure why this would happen without having
    your director movies available. One thing though: when making rollovers
    for digital video, you may need to compensate for the digital video
    being Direct to stage (called DTS in Dir MX:s member inspector). Flash
    sprites also have this feature. Director doesn´t have full control of
    the screen rendering for DTS sprites, which means you may have to take
    control over that sprite temporarily by lingo at some times.
    Maybe jumping to another Dir movie while executing a
    mouseEnter/mouseLeave/mouseWithin handler might trigger a screen draw
    problem where DTS sprite images "get stuck" on stage? You could try
    making all your sprite channels invisible when jumping to another movie.

    on stopMovie
    repeat with i = 1 to the lastChannel
    if sprite(i).member<>member 0 then
    sprite(i).visible=0
    updateStage
    end if
    end repeat
    end

    If necessary you could also make all sprites visible again in the next
    movie.

    Mats Guest

  6. #5

    Default Re: How to avoid this

    I'm still not exactly sure what's going on, but as best I can tell you could
    solve your problem a couple of ways:
    - Easiest, I suppose, would be to make the user click the button instead of
    just dragging his mouse over it.
    - If you have to stick with everything happening simply when the mouse is
    over the button, you're going to have to have each button check to see if
    certain conditions are met before displaying anything. For example, if you
    don't want a second video to start while another one is already playing,
    check to see if the movieRate of the video sprite is 0 or not. If it's 0
    then go ahead and play the new video. If not, either have the program stop
    the first video or wait until it's finished to start your second one.

    Again, I'm a little unclear as to what you're trying to accomplish, but I
    hope this helps a little.

    -M

    WWX <webforumsuser@macromedia.com> wrote in message
    news:br3ln3$9uq$1@forums.macromedia.com...
    > Okay,
    >
    > I have a project with a number of movies. The buttons in the movies has
    been setup to display images or videos when the user moves over them at a
    differant location on the stage than the button it self.
    >
    > The problem I have is, moving from one movie to another. Should the user
    moves the mouse around during this time and the pointer goes over a button
    with a video display associated with it, then all then other button's
    images/videos are displayed on the stage.
    >
    > This collage states on the stages until the pointer is moved over each
    button, from then onward everything thing works fine. Also should the
    pointer not be moved over a button will the movie loads everything runs
    smoothly.
    >
    > Hope this is a better explanation.
    >
    > Thanks
    >
    >

    MGaston 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