I've seen this bug before - is it Flash 7 or below? Read this: http://www.gskinner.com/blog/archives/000054.html
Some of the suggested fixes: 1) Decrease the stress placed on the player by reducing the number of components on-screen at one time, and removing/optimizing idle processes. I'm not sure why MM components sitting on the stage doing nothing place so much stress on the player, but they do. We did not have any idle processes in our application, but this FLAw was still very evident. I'll go into more details in my next post on how to reduce stress on the player, but briefly: avoid form-based development, unless your application uses less than 50 components total; avoid idle processes by taking advantage of events; and be sure to remove any content that isn't being used, especially if it includes components. You have to actually remove the content, not just hide it - remember, hidden content uses almost as much resources as visible content. 2) Change all Release events to Press events. This is hardly an ideal solution, but it does work. If you're using components, you can overwrite SimpleButton.as and make modifications so that most components will use Press for their "click" events. I'd make them myself, and post the results, but then I'd be violating the EULA. 3)One posted wrote: "Ok, I'm starting to wonder if you do a setFocus if that will fix the issue. I notice if I have the error happening and I look at a different window (like a messenger) and then focus back on flash everything works again. Posted by: Mark Statkus at May 14, 2004 05:48 PM Fix: (atleast for me) blah.onRelease = function() { this._focusrect = false; Selection.setFocus(this); //do whatever your button was doing }; Jason Merrill | E-Learning Solutions | icfconsulting.com >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Ryan Creighton >>Sent: Thursday, April 20, 2006 10:29 AM >>To: flashcoders@chattyfig.figleaf.com >>Subject: [Flashcoders] Emergency! Bad buttons! >> >>Hi everyone. Please visit this link: >> >>http://www.ytv.com/gamepad/play/games/mcdonalds2006/game.html >> >>This thing launches next week. The buttons act unpredictably. >> >>When i roll over many of them, i see the finger cursor. When i release >>the mouse button, the cursor turns to the arrow. From that point on, >>releasing the mouse button will fail to fire the onRelease action. >> >>i have to move the mouse slightly to see the finger cursor and to fire >>another onRelease action. >> >>So if you don't move your mouse, you can click and click and click on a >>button and it won't do anything. It's VERY frustrating, and i've never >>had this problem with any other Flash project. >> >>Here's how to see one of the worst buttons in action: >>- click on the Actors folder >>- click Hire an Actor >>- click Hire this Actor >>- drag the actor to the timeline >>- move the playhead over your actor clip >>- click on the preview window to go into close-up mode >>- click on the actor >>- click on the little camera button at the right edge of the screen >> >>That's one of the most badly behaved buttons in the entire app, but >>they're all generally naughty. >> >>All of my buttons are movieclips with their actions thrown at them from >>the main timeline, like so: >> >>var theBtn:MovieClip = whatever.whatever.whatever.theButtonMovieClip >> >>theBtn.onRelease = function():Void >>{ >> // do stuff >>} >> >> >>What the heck am i doing wrong?? i REALLY appreciate any advice you >>can offer. >> >> >> >>Ryan Creighton >>Senior Game Developer, CORUS Interactive >> >>http://www.ytv.com <http://www.ytv.com/> >> >> >>_______________________________________________ >>Flashcoders@chattyfig.figleaf.com >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >>Brought to you by Fig Leaf Software >>Premier Authorized Adobe Consulting and Training >>http://www.figleaf.com >>http://training.figleaf.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com