>> 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.
Muzak wrote:
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;
}
Ah, excellent. The focusManager suggestion seems to do the trick. And
I'll be combining it with Nick Johnston's suggestion --
Why not try storing the title using a setInterval (say every 2 seconds
and if they make a change to the title it will reset the interval)
rather than onKillFocus()?
Thank you both very much.
::. clive
_______________________________________________
[email protected]
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