You can try this,
 
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" initialize="myfunction()">
<mx:Script>
<![CDATA[
function myfunction(){
 
}
 
]]>
</mx:Script>
</mx:Application>
 
Regards,
 

João Fernandes

Secção de Desenvolvimento

Departamento de Informática

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cruegger2000
Sent: quarta-feira, 7 de Setembro de 2005 17:28
To: flexcoders@yahoogroups.com
Subject: [flexcoders] invoking function on mxml file load/init?

Is there a way to cause a function to invoke when the mxml file
first loads/initializes? How would I specify this?
Thanks in advance





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Software design and development Macromedia flex
Software development best practice


YAHOO! GROUPS LINKS




Reply via email to