Keith, Thanks. But I don't have all the thing mentioned. I guess that's a Flex thing? I use Flash CS3/AS3
Thanks again Cor -----Original Message----- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Keith Reinfeld Sent: zaterdag 28 februari 2009 20:08 To: 'Flash Coders List' Subject: RE: [Flashcoders] InputTextField issue Cor, A recent thread on the Flexcoders list had this to say: (see below) What the heck, give it a try. Regards, -Keith http://keithreinfeld.home.comcast.net --- In flexcod...@yahoogroups.com, "huu...@..." <huu...@...> wrote: > > This *is* possible. > > In your html-template directory, locate the index.template.html file. > In the file, locate these lines of code (should be around Lines > 90-thru-100, assuming you haven't modified this file): > > ====== CODE ======= > } else { // flash is too old or we can't detect the plugin > var alternateContent = 'Alternate HTML content should be placed > here. ' > ====== /CODE ====== > > Immediately before the line with the " } else {", add the following: > > ====== CODE ======= > document.THE_NAME_OF_YOUR_MAIN_MXML_FILE.focus(); > ====== /CODE ======= > > In your main MXML file, add the following to the creationComplete > attribute: > > ====== CODE ======= > stage.focus = YOUR_MASKED_INPUT; > ====== /CODE ======= > > That should do it. Your users won't be forced to click in the browser > to begin typing. > > --- In flexcod...@yahoogroups.com, "markgoldin_2000" > <markgoldin_2000@> wrote: > > > > I am trying to implement that control into my application. > > When an application starts I want to have a control that is based on > > MaskedTextInput seleted. So, in my init I am saying: > > badgeid.setFocus(); > > badgeid would get its border highlighted but a mouse pointer will not > > be inside of MaskedTextInput and to start entering data the user has to > > click on badgeid. Is it possible to position mouse pointer into the > > MaskedTextInput text input control without licking on it? > > > > Thanks _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.4/1976 - Release Date: 02/27/09 13:27:00 _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders