[Flashcoders] Intermittent buttons

2007-06-29 Thread Clive R Sweeney
This is not a *major* issue but it's really annoying. I have two buttons 
that navigate back and forth through a series of images. (Flash 8, AS2). 
They work fine when I first open the SWF. But on the same screen is an 
input textfield with which a user can add or change a title. The title 
change is saved when the textfield loses focus (via onKillFocus()).


The problem is that once the user inputs a title, the two controller 
buttons only work intermittently -- sometimes once out of every two 
clicks, but often worse than that. The only way the buttons will work 
every time is if the user moves the cursor completely off the button and 
then back on. In that case the buttons work very dependably.


Any ideas what the problem might be?

::. clive

___
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


RE: [Flashcoders] Intermittent buttons

2007-06-29 Thread Danny Kodicek
 
 This is not a *major* issue but it's really annoying. I have 
 two buttons that navigate back and forth through a series of 
 images. (Flash 8, AS2). 
 They work fine when I first open the SWF. But on the same 
 screen is an input textfield with which a user can add or 
 change a title. The title change is saved when the textfield 
 loses focus (via onKillFocus()).
 
 The problem is that once the user inputs a title, the two 
 controller buttons only work intermittently -- sometimes once 
 out of every two clicks, but often worse than that. The only 
 way the buttons will work every time is if the user moves the 
 cursor completely off the button and then back on. In that 
 case the buttons work very dependably.
 
 Any ideas what the problem might be?

Just a thought: is it possible the textField is overlapping the buttons and
catching the clicks? Perhaps the field is auto-resizing and only causing the
problem when they enter the title

I doubt that's it, but it's the first thing that occurred to me.

Danny

___
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


Re: [Flashcoders] Intermittent buttons

2007-06-29 Thread Muzak
if you're using any of the v2 components add this to the main timeline

function onMouseDown(){
focusManager.enabled = false;
}

funtion onMouseUp() {
focusManager.enabled = true;
}

should fix the problem.

regards,
Muzak

- Original Message - 
From: Clive R Sweeney [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, June 29, 2007 5:44 PM
Subject: [Flashcoders] Intermittent buttons


 This is not a *major* issue but it's really annoying. I have two buttons that 
 navigate back and forth through a series of images. 
 (Flash 8, AS2). They work fine when I first open the SWF. But on the same 
 screen is an input textfield with which a user can add 
 or change a title. The title change is saved when the textfield loses focus 
 (via onKillFocus()).

 The problem is that once the user inputs a title, the two controller buttons 
 only work intermittently -- sometimes once out of 
 every two clicks, but often worse than that. The only way the buttons will 
 work every time is if the user moves the cursor 
 completely off the button and then back on. In that case the buttons work 
 very dependably.

 Any ideas what the problem might be?

 ::. clive

 ___
 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
 


___
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