Yes, yes, it does and it works!!!

--- In [email protected], "huu...@..." <huu...@...> wrote:
>
> When you deploy, you need to mirror this code in the HTML file that
> users will access to reach the SWF file.  One thought is to simply
> copy the file in its entirety and make that your "index.html" for 
your
> website.
> 
> Does that make sense?
> 
> --- In [email protected], "markgoldin_2000"
> <markgoldin_2000@> wrote:
> >
> > Well, it only works for me when I run it from Builder.
> > Here is my code:
> > ...
> >     );
> >   document.tasktracking.focus();
> >   } else {  // flash is too old or we can't detect the plugin
> >     var alternateContent = 'Alternate HTML content should be 
placed 
> > here. '
> >     + 'This content requires the Adobe Flash Player. '
> >     + '<a href=http://www.adobe.com/go/getflash/>Get Flash</a>';
> >     document.write(alternateContent);  // insert non-flash content
> >   }
> > ....
> > 
> > I have set stage as well.
> > --- In [email protected], "huuuze@" <huuuze@> 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 [email protected], "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
> > > >
> > >
> >
>


Reply via email to