Thanks Juan,

Every way is good, but is this the same issue as when you would like to set
your Flash full screen?
Because of the security of the Flashplayer you can't, unless the user
clicks.

Kind regards
Cor

-----Original Message-----
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Juan Pablo
Califano
Sent: zondag 1 maart 2009 17:27
To: Flash Coders List
Subject: Re: [Flashcoders] InputTextField issue

True, but it think the user will have to click somewhere in the swf anyway
to begin interacting with it, because when the swf loads in the html, it
doesn't have focus (unless it tabs to the swf).

Maybe you could try to force focus on the swf with javascript...

Cheers
Juan Pablo Califano


2009/3/1, Cor <c...@chello.nl>:
>
> Juan,
>
> My mouse move did not work and your mouse down does work!
> But the problem is still there, the user HAS to click.
>
> Thanks!!
>
> Cor
>
> -----Original Message-----
> From: flashcoders-boun...@chattyfig.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor
> Sent: zondag 1 maart 2009 16:26
> To: 'Flash Coders List'
> Subject: RE: [Flashcoders] InputTextField issue
>
> Juan,
>
> Thanks,
>
> I had made the exact same this workaround but with MOUSE_MOVE:
>
> stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoved);
>
> function mouseMoved (e:MouseEvent) :void{
>        stage.focus = inputTextField;
>        stage.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoved);
> }
>
> But still nothing happing when I run it in html
>
> Cor
>
>
>
> _______________________________________________
> 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/28/09
> 17:21:00
>
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
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/28/09
17:21:00

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to