Modify the index-template.html So put your javascript in the template and it will get copied to the actual index.html when compiling.
regards, Muzak ----- Original Message ----- From: "seemaherein" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, September 17, 2007 9:57 AM Subject: [flexcoders] index-template file hi In my application, i have a index.html in which i give 3 options to the user. on every option i've a mxml application being opened. actually for the three mxml files i have html's in the bin directory which are actually referenced from index.html now in each of the html i need to have focus on the flex form so i say - document.filename1.focus(),document.filename2.focus()& document.filename3.focus() in the html files. but it gets overwritten by index-template.html. is there any other way to get focus on flex form. i looked on net but couldn't get a satisfactory solution. please help.

