PDA

View Full Version : hexagon menu



elaborations
02-01-2004, 05:28 PM
Hi, I was wondering if anyone could help with this ...

I'm using a hexagon menu to display some objects. One object is placed on each slide of the hexagon menu (which can then be rotated left and right to see other "slides").

What I want to do now is to be able to click on the object (image) as a button and for it to go to another scene which shows the image blown up and some description next to it.

I have tried the following which doesn't seem to work:
Created an invisible button (or choosing the image as a button) and having
on(release) {
gotoand play( scene etc)
}

this doesn't work when I use it over the hexagonal menu, but when I move the button to somewhere else on the screen it works.

Just to give you a better idea the website is this:
www.elaborations.co.uk/mansour/index.html

Thanks in advance

Brad

blake
02-02-2004, 07:04 AM
hey, very nice work

well either convert the picture to a button or make an invisible button over it and add this code


on(release) {
gotoAndPlay(scene etc)
}


im not sure if that is what you had but i fixed it so the code you posted would work.

cheers, Blake...any problems just ask

p.s Fantastic pictures there :D

elaborations
02-03-2004, 05:03 PM
Thanks blake,

Thats exactly what I tried - I've tried both the making the image a button and also creating an invisible button over the top and using that code (the syntax was wrong in my orignal message) but I did use the correct syntax in the actual system.

Still doesnt work .... any ideas? I think the problem is something to do with the menu being a movie clip?

Thanks!

WiLLiaM the BlooDy
02-03-2004, 07:10 PM
Was your original Button a Graphic or movieclip and then you converted it to a Button, cause if thats the case I find that flash has a bug and won`t convert it properly..if that is the case you want to do one of two things. 1- recreate the button from scratch, or 2-click on your button and check the properties tab to make sure it shows as button and not a graphic or movieclip even if the pic of it in the library looks like a button that could still be the case. Good luck.

Taff
02-04-2004, 02:29 PM
You may need to tell Flash which part to play.


_root.gotoAndPlay("myLabel");

Ohh it seems to be working now?

Taff