Skip to main content
Inspiring
October 5, 2010
Answered

Some Buttons have to be Double+ clicked

  • October 5, 2010
  • 1 reply
  • 2893 views

I noticed a strange thing on my site. All buttons are programmed identical but some of them have to be double or tripple clicked (depending on the level they are in) in order to access the designated location.

What does it mean? Is there an error in code and something has to be rearranged differently?

My site is located at 888acolyte.com

all of the top menu buttons work with a single click, except for the first one "about us" which has to be double clicked.

Any reasonable explanation?

This topic has been closed for replies.
Correct answer kglad

Those were the great tips you provided for me and I was unaware of.

I went through quite a lot of tutorials to learn about flash, but I never

came across ones which would address issues on how to best arrange elements

and order of creating/positioning Flash elements.

This is not really a particular trick or an implementation of a feature.

Are there any tutorials, resources you would recommend?


the o'reilly missing manual books are pretty good for animation info in the various flash cs versions.  i'm familiar with the cs5 book because the o'reilly people asked me to proof-read it.

otherwise, i've found the best way to find specific info is to use google using judiciously chosen keywords.

1 reply

kglad
Community Expert
Community Expert
October 5, 2010

that's usually caused by a button that uses one of the goto methods.

nikolaigAuthor
Inspiring
October 5, 2010

Well, precisely...

I thought that is the only method. Here is my code:

aboutus_btn.addEventListener(MouseEvent.CLICK, onClick_aboutus);

function onClick_aboutus(event:MouseEvent) :void {

gotoAndPlay("aboutus");

}

What would be the other way?

kglad
Community Expert
Community Expert
October 5, 2010

to debug your problem, in the test environment enable the view bandwidth profiler.  then check the effect of clicking your buttons to see where the playhead is going.