[flexcoders] Re: MaskedTextInput
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 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 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 flexcoders@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
[flexcoders] Re: MaskedTextInput
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 markgoldin_2...@... 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 flexcoders@yahoogroups.com, 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 flexcoders@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
[flexcoders] Re: MaskedTextInput
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 for your website. Does that make sense? --- In flexcoders@yahoogroups.com, 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 flexcoders@yahoogroups.com, 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 flexcoders@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
Re: [flexcoders] Re: MaskedTextInput
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 economically engage plug-and-play meta-services This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Re: MaskedTextInput
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, setfocus will work. But not before. You can do it in IE, but not FireFox. -- Tom Chiverton Helping to economically engage plug-and-play meta-services This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Re: MaskedTextInput
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 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 economically engage plug-and-play meta-services This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
Re: [flexcoders] Re: MaskedTextInput
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... -- Tom Chiverton Helping to adaptively brand viral best-of-breed strategic bandwidth This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Re: MaskedTextInput
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: 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... -- Tom Chiverton Helping to adaptively brand viral best-of-breed strategic bandwidth This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Re: MaskedTextInput
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 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
[flexcoders] Re: MaskedTextInput
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@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
[flexcoders] Re: MaskedTextInput
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 flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... 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
[flexcoders] Re: MaskedTextInput
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 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 flexcoders@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