Hi manish, this is a code use can use to implement javascript in flex:
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" load="abc()"> <mx:Script source="js1.js" /> <mx:TextInput id="a1" /> </mx:Application> // JavaScript Document function abc(){ a1.setStyle('color','red'); } thanks, Ashish Grover --- manish <[EMAIL PROTECTED]> wrote: > Hi All, > Can Please somebody let me know that how > can i use the > javascript functions in flex . Is there is any way > that i can call > javascript functions from .as files. I will really > appreciate if > someone will help me in this regard. > > > Thanks > Manish Jain > > > > > > > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

