AHHHHR! dont know why there is a problem here. It seems to be perfect. What am I doing wrong here???
TS;(
please have a look at the file
AHHHHR! dont know why there is a problem here. It seems to be perfect. What am I doing wrong here???
TS;(
please have a look at the file
Explain your goal and what you are getting as a responce instead. TS would be easier for all.
Hi tahnks for your reply. Ok first of all I produced the button, which worked well the effect and all. I then needed to duplicate the button a further three times for the remainder buttons. As you will see from the attached file the first button works perfectly, but I have a problem with the second, I felt until I can get the second button to work I have no chance getting the others to work. So basically I require the same effect for four buttons, but really need to know where I am going wrong here,
If you have seen the file, I am sure you can see the problem. I hope this makes more sense to you. Before I even create a menu system I must fully understand what it is I am doing - otherwise I will have problems
Cheers
T
well i don’t know if you noticed it or not, but the mouseover activates the first button, regardless of which button your are over. Furthurmore, the second button’s “skirt” seems to recede when the mouseover occurs.
I’m thinking you have variables with the same name, so when the the mouseover goes over number two it activates via the number one calls and variables.
Ok, I have used individual instances, I have chanced the instances in each action, and yet the problem still exists, you are explaining the problems, but do you have the solution, the variables if you look should have different names. Do you have the solution in correcting this small problem
It would be great if I new how
Trev
Well, I managed to get something different happen. I hover over one and they both perform the rollover effect. Thats about as close as I am, I wonder why that is happening?
I have individual names, I have seperate movie clips. The only this that has been duplicated was the button itself which was presented with a different name
Does anyone have the answer?
what did you change to produce the new effect?
Am I helping you or are you helping me
I just scrapped the second button. redid a duplicate again and did the same procedure infact it must be something with the duplicate. maybe because I have duplicated the button, despite providing it a new name. maybe that is my mistake :(.
mmmmmhhhh - that means I must create each individual button - how mad is that for production time. surely you have an answer ???
T
Nope, but I have engineering design skills, troubleshooting!
See you needn’t have really asked in the first place, cause you ended up making headway without any help
Keep posting your progress though, I’m interested to see how it turns out
Well my guess is. The mistake I made was when I duplicated the button it was already a button if you follow, so what I am going to do now is create the button graphic - duplicate it at that stage then convert them to buttons and add the effect. I wonder if that will do it
Well there is only one way to find out.
I will keep you informed as I do it
Trev
Rats, the theory is wrong. each individual graphic was created, mmmm still not working. i am running out of ideas, what can i try next???
I think I’ve got it.
I changed the order of your function, putting the rollover/out functions first. This broke the link between the two.
Next: you had the skirt the same color as the bottom of the button, so you couldn’t see it change. I changed the color to match the top part of the button(used eye dropper).
Got a duplicate to work too!
But I dont’ know if its the way you did it. I Dup’ed the button the mc and copyed in the code.
Edit–That was fun! I don’t know much about Flash yet, but I’ve done coding and stuff so it helped me figure it out. I took the tutorials and thought I didn’t get **** out of it. But I guess I got something!
Lol, thats cool you got it. I managed to get it just before I read your post, using something totally different. Simply create the button then label it with an instance of say mc1. Then in your movie clip create an over state and out state, making sure you have placed stop as preventing the movie from continuing. you then type something like this in your button as
on (rollOver) {
mc1.gotoAndPlay(2);
}
on (rollOut) {
mc1.gotoAndPlay(15):
}
I guess my friend we have both learned something from this thread happy flashing Cosine
and good luck with your work, you can reply if you want to know the alternative.
Cheers
Trev
yah definately, I’d like to see the other way.
Ok no worries I will sort that out for you in a second. It is a better method and easy to remember over the other idea. Secondally I will give you a little more advice from what I tried to find out.
Stage.showMenu = false;
You will find that when you run the swf file you have no options cool.
mybutton.useHandCursor = false; - mybutton is simply the name you give your button in the instances. Its quite cool if you like that sort of setup.
Also aouther note, in your buttons you tend to find that they look blur, well to be honest I never had any replies as it was really bugging me.
simply zoom in as close as you can, select snap to pixels, make sure your buttons are perfect with the small squares, thus antialising is not enables on the rectangles :). well cool.
Also for text to prevent that awful blur text, to remove it simple change from static text to dynamic text and uncheck selectable. You will notice a huge improvement. Well I hope some of this information is useful to you. Its what I have found out in the last day or so with difficulty :). The file for demonstration will be rough but you will not forget this one over the other.
Back in a bit
T
Well here it is for you. It was only done quick for you to get the idea. not great but the AC is a lot easier to understand and the mc1. refers to the movie clip labelled mc1 so easy.
Trev
:: Copyright KIRUPA 2024 //--