PDA

View Full Version : Can somebody help me with fade effect inside menu?


autoplmst6
08-06-2006, 11:29 AM
Hi all:

I have a ppz file im creating a effect fade in a simple dropdown menu, the script i Attach here i don't know whats is wrong inside? The basic idea is once you have clicked the "main" button, navegate inside the three buttons. Once you pointed the mouse in one of those buttons, this fades in when enter mouse and fades out when you retired the mouse from this...Can help me please?

Thanks for read this message.

Tek
08-06-2006, 12:23 PM
I took a quick look at this project. One thing I will say is that you should think about the effects of what you are doing. The images fade in much too slowly, and AMS will wait until the image is faded in before continuing code execution. You might be able to get around that by checking the mouse position as it is fading in, but I have not tried this before.

Another possible solution is to fade the images in much faster so that the delay is not noticeable, or use buttons instead of images for the submenu and not fade in at all.

See the attached GIF animation to see how using the mouse position can be used for a similar effect.

autoplmst6
08-06-2006, 01:57 PM
I have seen your pic about mouse's rollover ...I dunno its seem very simple, i tried (talking about mouse position as you said...) using the image.getpos to say AMS what button i am entering with my mouse. I try not fade the others buttons when i focused the mouse in only one of them....is very frustrating ...I cant get see clearly o understand whats the real behaviour of the fading in a concrete button talking in programming.

The last try was in result when i point the mouse (via using a combination of boolean for every button with image.SetOpacity properties) the other fading make same action...when i want only fade this one i make OnEnter with my mouse.

I will try with the buttons method but I dont think it will run in fade mode...
Thanks for your reply...Im go on investigate how to get this matter.