|
-
Flash 8 bug!? Button Problem!!
The weirdest thing is happening to me in Flash 8...
I have buttons in my movie that don't work properly when trying to press it REPEATEDLY in a row. The button seems to disable on its own... but check it out: If I press the button and then move the mouse cursor at least one pixel, then I can press the button again... otherwise, the button does nothing... and I know the button ISN'T disabled because 1.) there's nothing like that in my code, 2.) the mouse cursor stays as the "hand" and not the "pointer"... know what I mean?
My button actions are not on the button itself but in the form of
myButton.onRelease = function(){
do this and that...
}
Here's another weird part of this... to test it out, I made a whole new flash movie and made a new button with new actions (just a simple trace("hello world"); action and no matter how many times I repeatedly press the button, it works. But why won't it work in my other FLA???
And HERE's the WEIRDEST PART!!!!
SOMETIMES when I publish a preview of the movie, the BUTTON does work when I press it repeatedly... but OTHER times when I preview the same movie, the SAME BUTTON will then NOT WORK when pressed repeatedly! What the heck is going on? HELP ME!
I'd appreciate any help...
(BTW, the button is basically a NEXT button for a photo gallery I'm making...)
-
Any response to this?
I am having an identical problem, except my code is on the button itself:
on(release) {
gotoAndPlay(80);
}
I've tried changing it to gotoAndStop, and various other things using focusManager, etc.
The problem occurs for .swf files embedded in HTML using IE7, and the same thing happens if I publish just the executable file.
Any advice would be appreciated...
-
Track as menu item
The saga continues.
I changed the button properties from "Track as Button" to "Track as Menu Item" and it appears to have solved the sticky button problem for both stand-alone and web-based delivery.
-
solution
You may also find that need to change your on(press) to on(release).
Cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|