1 Jul 2007 21:02
alert gets immediate onresult??
Flash environment, Laszslo 4.0.2
I have a simple <alert> with a <method event="onresult">
in it. I thought that the docs imply it's the only event
available to an alert, and it's supposed to fire when the
user presses the button. However, I get that event firing
immediately on an open() of the alert. That's a big problem
because my code in the method is switching to a different
tabpane. It means the tab pane switch hides the modal
alert so you can't get to hit the OK so you're basically
stuck. Is that a bug?
My alert looks something like the folowing:
<alert name="saveAlert" >
<method event="onresult">
parent.subviews[mainTab].setAttribute('selected',true);
</method>
Save is Complete!
</alert>
=======================================================================
Geoff Crawford Phone: (973) 361 - 4224
Innov8 Computer Solutions, LLC FAX: (973) 537 - 6946
711 Route 10 East, Suite 204 Email: geoff@...
Randolph NJ 07869 Web: http://www.processware.biz
(Continue reading)
RSS Feed