Ask a Question related to Macromedia Director Lingo, Design and Development.
-
WWX webforumsuser@macromedia.com #1
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
-
Avoid coping homepage ??
Hi al, What should i do so people cant copy or save my homepage? Regards Sasha -
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... -
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... -
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... -
how to avoid authentication
Hi All users should authenticate to reach some page. How to avoid this for some users. Thanks Konrad -
MGaston #2
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...movie display on the screen. All works fine, but moving between movies and> Hi,
>
> I have a project where when the user scroll over the buttons a picture or
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.pointer.>
> Will adding a loading script prevent this or will it have no effect on the>
> If not is there any other suggestions?
>
> Thanks
>
>
MGaston Guest
-
WWX webforumsuser@macromedia.com #3
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
-
Mats #4
Re: How to avoid this
"WWX" [email]webforumsuser@macromedia.com[/email] wrote:
It is difficult to say for sure why this would happen without having> 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
>
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
-
MGaston #5
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...been setup to display images or videos when the user moves over them at a> Okay,
>
> I have a project with a number of movies. The buttons in the movies has
differant location on the stage than the button it self.moves the mouse around during this time and the pointer goes over a button>
> The problem I have is, moving from one movie to another. Should the user
with a video display associated with it, then all then other button's
images/videos are displayed on the stage.button, from then onward everything thing works fine. Also should the>
> This collage states on the stages until the pointer is moved over each
pointer not be moved over a button will the movie loads everything runs
smoothly.>
> Hope this is a better explanation.
>
> Thanks
>
>
MGaston Guest



Reply With Quote

