just for reference:

http://en.wikipedia.org/wiki/LIFO 

-----Mensagem original-----
De: [email protected] [mailto:[EMAIL PROTECTED] Em
nome de Gaurav J
Enviada em: sexta-feira, 5 de dezembro de 2008 08:37
Para: [email protected]
Assunto: [flexcoders] Flex : Execution of Alert.show() starts for the
last one

Hello All,

I have doing a small experiment with flex 3 and found something every
strange.  In a function i am calling Alert.show() 3 Times 1,2,3 but when
i call that function the execution of starts from the bottom calling the
message box 3 first and message 1 the last. 

Have anyone got an idea why its happening ?



Here the code 

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; 
layout="vertical" backgroundGradientAlphas="[1.0, 1.0]" 
backgroundGradientColors="[#8E8E8E, #DEDEDE]"> <mx:Script>
        <![CDATA[
                import mx.controls.Alert;
                private function callAlerts():void
                {
                        Alert.show("Hello World","Message 1");
                        Alert.show("Hello World","Message 2");
                        Alert.show("Hello World","Message 3");
                }
        ]]>
</mx:Script>
        <mx:Label text="Test Alert"/>
        <mx:Button click="callAlerts()" label="Call Alert Box"/>
</mx:Application>


Regards 


Gaurav






------------------------------------

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location:
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-
1e62079f6847
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
Links



Reply via email to