PDA

View Full Version : How To? Custom Rollover Buttons


ph48242
10-06-2007, 03:04 PM
I need to be able to create my own button rollovers. I can see from viewing the help guide there are a number of pre defined buttons but I need to create my own. In v.40 you could simply select image plus the on state and over state. This seems removed from v6.0.

Can anyone show me an examples or tell me how it's done or show me where to find this info out please?

Regards
Paul.

longedge
10-06-2007, 03:20 PM
You can use an image and have it react to mouse enter, leave, click and right click as in the example attached.

ph48242
10-06-2007, 03:32 PM
I cannot believe how complicated v6.0 is. I learned the basics in v.40 without any help, just looking around and playing with it. I think Indigorose have missed the plot here, catering for mainly programming minded people. Things like being able to setup basic rollovers (as in v4.0) should not need anyone coming to a forum seeking help at this basic level.

I appreciate your help but I am baffled as to where you learn this info in the first place as I can see no help on this website for such things. You know what I'm going to be asking you next?? how do I make the button function?

ph48242
10-06-2007, 03:49 PM
Thanks for the example longedge. However I have 4 buttons next to each other and even though I set them all up with their own image rollovers, it turns out that when I rollover each image only the first button is changing, displaying all the buttons inturn as I rollover.

For example as I rollover the rest of the buttons, only the first button is changing displaying the wrong button when it does?

Secondly, when I rollover image 1 the onclick image does not return until I move my mouse off the image? I need the button to instantly return to it's original state when i release the mouse button.

I hope you understand this?

ph48242
10-06-2007, 03:56 PM
Ah, OK I figured that out, I was still referencing image1 rather than naming each image image2, image3, image4 etc.

However, is there a way to get the image "On Click" to bounce back to the original image when the mouse button is released as it doesn't seem right otherwise for it to remain in the down state until you roll off the image?

Bruce
10-06-2007, 04:18 PM
Ah, OK I figured that out, I was still referencing image1 rather than naming each image image2, image3, image4 etc.

However, is there a way to get the image "On Click" to bounce back to the original image when the mouse button is released as it doesn't seem right otherwise for it to remain in the down state until you roll off the image?

ph48242, send me your image and I'll make your states for you. I think I was the biggest cry baby around here when ver.4 went to ver.5, hang in there it will soon be soaking in! :p

longedge
10-06-2007, 04:33 PM
is there a way to get the image "On Click" to bounce back to the original image when the mouse button is released

There's a way of doing pretty much anything.

You could for instance start the page timer on click and in the on timer event re-load the original image and stop the timer again.

The page itself has a mouse button event which returns whether the left and right buttons are down or released. You might use this.

AMS has got a button maker built in and creating a 'proper' button might be the best option for you.

My way of doing things is to try anything and everything :)

ph48242
10-06-2007, 04:35 PM
Thanks Bruce but my project is over 600Mb in size (including software and graphics etc) so I don't see a way of getting it to you? I've fixed the rollovers now and my problem with the down image not returning fast enough may be redundent because by the time you release the mouse button your on a new page anyway.

eric_darling
10-06-2007, 04:42 PM
There's a handy way to create buttons with the included Button Maker program. Look in your tools menu. It's nearly self-explanatory, but you should use PNG source images for the states, since that format supports 24-bit with alpha channel.

I assure you that your opinion of the needlessness of the newfound complexity will wane as you spend more time with 6.x. It's far better and more capable than 4.0 was, and once you get your head around some changed concepts, you'll feel a lot better about it.

Dermot
10-06-2007, 04:42 PM
I cannot believe how complicated v6.0 is. I learned the basics in v.40 without any help, just looking around and playing with it. I think Indigorose have missed the plot here, catering for mainly programming minded people. Things like being able to setup basic rollovers (as in v4.0) should not need anyone coming to a forum seeking help at this basic level.

I appreciate your help but I am baffled as to where you learn this info in the first place as I can see no help on this website for such things. You know what I'm going to be asking you next?? how do I make the button function?
You can do way way more with 6.0 than you could with 4.0. It's well worth learning and it's not at all difficult. The help file is excellent.

There is a button maker included that lets you create your own buttons from your own graphics.

Bruce
10-06-2007, 04:53 PM
Thanks Bruce but my project is over 600Mb in size (including software and graphics etc) so I don't see a way of getting it to you? I've fixed the rollovers now and my problem with the down image not returning fast enough may be redundent because by the time you release the mouse button your on a new page anyway.

LOL, just send me the image of the button and yes all the guys are right, the button maker is the poop! You just need a graphics program to make the different states. again if you don't have a way to make them, send me the image I'll be glad to help you out.

Lorne
10-09-2007, 09:45 AM
I need to be able to create my own button rollovers. I can see from viewing the help guide there are a number of pre defined buttons but I need to create my own. In v.40 you could simply select image plus the on state and over state. This seems removed from v6.0.As the others have noted above, this feature hasn't been removed, it has been expanded into an open file format for which there is a separate button editor (Tools > Button Maker).