Abdul, Great!... Today, during my work day, I have finished a component to do the same: to inject javascript code into the flash wrapper. My final goal is to centralize all javascript, html and the flex app itself into a single SWF and thus, minimize the initial html wrapper to a simple "boot strap" mechanism. Your post has put in front of my eyes the idea for embed the html code...Thank you.
Tomorrow I will test your component under MSIE, Safari and FireFox on Mac... I will post back the results. P.S.- What is amazing for me is to see what human being is able to achieve: giving a problem, to think in the same solution regarless the distance, culture, believings and so on. --- In flexcoders@yahoogroups.com, "Abdul Qabiz" <[EMAIL PROTECTED]> wrote: > > http://www.abdulqabiz.com/blog/archives/macromedia_flex/a_mxml_compone n.php > > You can use this component to write JavaScript code within MXML document, > when application is initialized all JavaScript code would be exported to > container HTML document's context. > > I just wanted to do, infact had filed an ECR so that compiler team can do > it. But it was easy to do with ActionScript. I have only tested on > Firefox-windows and it works. > > Let me know, if you like it :) > > -abdul > ------------------------ Yahoo! Groups Sponsor --------------------~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/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/