[flexcoders] Re: MaskedTextInput

2009-02-27 Thread markgoldin_2000
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

[flexcoders] Re: MaskedTextInput

2009-02-27 Thread huu...@ymail.com
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 flexcoders@yahoogroups.com, markgoldin_2000

[flexcoders] Re: MaskedTextInput

2009-02-27 Thread markgoldin_2000
Yes, yes, it does and it works!!! --- In flexcoders@yahoogroups.com, 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

Re: [flexcoders] Re: MaskedTextInput

2009-02-25 Thread Tom Chiverton
On Tuesday 24 Feb 2009, stldvd wrote: Last I heard you cannot set the focus to a textfield from outside the application. Once the user has clicked on the Flex/Flash app in the browser, setfocus will work. But not before. You can do it in IE, but not FireFox. -- Tom Chiverton Helping to

[flexcoders] Re: MaskedTextInput

2009-02-25 Thread markgoldin_2000
Likely we are using IE. --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: On Tuesday 24 Feb 2009, stldvd wrote: Last I heard you cannot set the focus to a textfield from outside the application. Once the user has clicked on the Flex/Flash app in the browser,

[flexcoders] Re: MaskedTextInput

2009-02-25 Thread huu...@ymail.com
Not true. The solution I outlined above definitely works in Firefox (I'm using it now) and I'm fairly certain it works in IE. --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: On Tuesday 24 Feb 2009, stldvd wrote: Last I heard you cannot set the focus to a textfield

Re: [flexcoders] Re: MaskedTextInput

2009-02-25 Thread Tom Chiverton
On Wednesday 25 Feb 2009, huu...@ymail.com wrote: Not true. The solution I outlined above definitely works in Firefox (I'm using it now) and I'm fairly certain it works in IE. http://www.actionscript.org/forums/archive/index.php3/t-120307.html (etc) still seems confused on the matter... --

[flexcoders] Re: MaskedTextInput

2009-02-25 Thread huu...@ymail.com
I've confirmed that this works in Internet Explorer (7.0) as well. As for the comments on ActionScripts.org, send them the link to my post. It's fairly straightforward, IMO. --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: On Wednesday 25 Feb 2009, huu...@... wrote:

[flexcoders] Re: MaskedTextInput

2009-02-24 Thread stldvd
Last I heard you cannot set the focus to a textfield from outside the application. Once the user has clicked on the Flex/Flash app in the browser, setfocus will work. But not before. -- David --- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... wrote: I am trying to implement

[flexcoders] Re: MaskedTextInput

2009-02-24 Thread markgoldin_2000
O, that's not good. --- In flexcoders@yahoogroups.com, stldvd stl...@... wrote: Last I heard you cannot set the focus to a textfield from outside the application. Once the user has clicked on the Flex/Flash app in the browser, setfocus will work. But not before. -- David --- In

[flexcoders] Re: MaskedTextInput

2009-02-24 Thread huu...@ymail.com
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

[flexcoders] Re: MaskedTextInput

2009-02-24 Thread markgoldin_2000
Yep, that worked, thanks a lot!!! --- In flexcoders@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