Re: cfform format=flash onload

2008-04-16 Thread James Blaha
Kevin, I think I see what you mean now. Your code is working. I just need to click somwhere on the flash form to activate it. Can this be done on the onload of the body? Thanks for all your help (All of You)! -Jim ~| Adobe®

Re: cfform format=flash onload

2008-04-16 Thread James Blaha
Kevin, http://www.webmasterworld.com/website_technology/3467406.htm I think this is my issue, it applies to IE and FireFox though. -Jim ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date

RE: cfform format=flash onload

2008-04-16 Thread Kevin Aebig
PROTECTED] Sent: Wednesday, April 16, 2008 6:35 AM To: CF-Talk Subject: Re: cfform format=flash onload Kevin, http://www.webmasterworld.com/website_technology/3467406.htm I think this is my issue, it applies to IE and FireFox though. -Jim

Re: cfform format=flash onload

2008-04-16 Thread James Blaha
I'll post a link in the morning. Thanks Kevin. If I dont get it to work I give up at this point. I think I need to include some large JS to make it work. I dont want a hack in the code. ~| Adobe® ColdFusion® 8 software 8 is

RE: cfform format=flash onload

2008-04-16 Thread Kevin Aebig
and specifically the scriptSrc attribute of the CFForm tag. http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p38.htm !k -Original Message- From: James Blaha [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 16, 2008 2:12 PM To: CF-Talk Subject: Re: cfform format=flash onload I'll post

cfform format=flash onload

2008-04-15 Thread James Blaha
All, Does anyone know the action script to setFocus and have the user be able to start typing into a cfinput text field? -Jim cfsavecontent variable=preSelect _root.UserID.setFocus(); /cfsavecontent cfform format=flash skin=haloblue onload=#preSelect# cfformgroup

RE: cfform format=flash onload

2008-04-15 Thread Jason Durham
-Talk Subject: cfform format=flash onload All, Does anyone know the action script to setFocus and have the user be able to start typing into a cfinput text field? -Jim cfsavecontent variable=preSelect _root.UserID.setFocus(); /cfsavecontent cfform format=flash skin=haloblue onload

Re: cfform format=flash onload

2008-04-15 Thread Greg Luce
James you might have to use creationComplete. Something like: cfsavecontent variable=onLoad var myListener = {}; myListener.creationComplete = function() { _root.UserID.setFocus(); } /cfsavecontent Greg On Tue, Apr 15, 2008 at 1:13 PM, James Blaha [EMAIL PROTECTED] wrote: All, Does anyone

Re: cfform format=flash onload

2008-04-15 Thread James Blaha
Hi Jason, Thanks I'm trying to get the dream option to work where you can just start typing. I've been googling but no luck yet. I'll post a solution if I get it working. -Jim ~| Adobe® ColdFusion® 8 software 8 is the most

Re: cfform format=flash onload

2008-04-15 Thread Greg Luce
. If you figure it out, I'd love to know the solution. -Original Message- From: James Blaha [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 15, 2008 12:13 PM To: CF-Talk Subject: cfform format=flash onload All, Does anyone know the action script to setFocus and have the user be able

Re: cfform format=flash onload

2008-04-15 Thread James Blaha
Hi Greg, So close: onload=_root.UserID.setFocus(); this just highlights the box. I couldnt get what you sent to work. -Jim ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free

Re: cfform format=flash onload

2008-04-15 Thread James Blaha
Greg, Could please post a small working example? Thanks for your post! -Jim ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: cfform format=flash onload

2008-04-15 Thread Greg Luce
James, I've never done the focus onLoad, but I have done other functions in the onLoad event. Try this: cfsavecontent variable=onLoad UserID.setFocus(); /cfsavecontent cfsavecontent variable=binding {(trigger.text != '') ? trigger.dispatchEvent({type:'change'}) : 'init'} /cfsavecontent

RE: cfform format=flash onload

2008-04-15 Thread Kevin Aebig
The key is to set the selection in the text box as well... than the cursor will be there. !k -Original Message- From: James Blaha [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 15, 2008 12:43 PM To: CF-Talk Subject: Re: cfform format=flash onload Hi Greg, So close: onload

Re: cfform format=flash onload

2008-04-15 Thread James Blaha
Hi Kevin, How do I set the selection? Can those statements both be in the onload=? -Jim ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: cfform format=flash onload

2008-04-15 Thread James Blaha
Greg, When you run your code in your environment then do a page refresh is the cursor blinking in the text field? -Jim ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

RE: cfform format=flash onload

2008-04-15 Thread Kevin Aebig
:[EMAIL PROTECTED] Sent: Tuesday, April 15, 2008 2:37 PM To: CF-Talk Subject: Re: cfform format=flash onload Hi Kevin, How do I set the selection? Can those statements both be in the onload=? -Jim ~| Adobe® ColdFusion® 8

Re: cfform format=flash onload

2008-04-15 Thread Qasim Rasheed
This works for me on CF8 cfform format=flash skin=haloblue onload=password.setFocus() cfformgroup type=horizontal id=myUID cfinput name=UserID width=200 maxlength=50 required=yes value= type=text cfinput name=password width=200 maxlength=50 required=yes value= type=text

Re: cfform format=flash onload

2008-04-15 Thread James Blaha
Kevin, This works but I need to click on the flash form to get the cursor to be active. Is this what you were talking about? -Jim cfsavecontent variable=onLoad Selection.setFocus(UserID); Selection.setSelection(0, UserID.text.length); /cfsavecontent cfform format=flash skin=haloblue

Re: cfform format=flash onload

2008-04-15 Thread James Blaha
Hi Qasim, It only highlights the textbox onload. I need the user to be able to start typing right on the page load. -Jim ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free

Re: cfform format=flash onload

2008-04-15 Thread Greg Luce
James, It does sometimes, really strange. I guess it's just a hack anyways. Maybe Adobe will add onLoad event to cfform someday. Greg On Tue, Apr 15, 2008 at 4:42 PM, James Blaha [EMAIL PROTECTED] wrote: Greg, When you run your code in your environment then do a page refresh is the cursor

RE: cfform format=flash onload

2008-04-15 Thread Kevin Aebig
format=flash onload Kevin, This works but I need to click on the flash form to get the cursor to be active. Is this what you were talking about? -Jim cfsavecontent variable=onLoad Selection.setFocus(UserID); Selection.setSelection(0, UserID.text.length); /cfsavecontent cfform format=flash

Re: cfform format=flash onload

2008-04-15 Thread James Blaha
I am using IE. The form shows up on page load just fine. Is that what you mean by activating the swf? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

RE: cfform format=flash onload

2008-04-15 Thread Kevin Aebig
Is there a border around the SWF with a Click here to activate this control message showing? !k -Original Message- From: James Blaha [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 15, 2008 4:16 PM To: CF-Talk Subject: Re: cfform format=flash onload I am using IE. The form shows up

Re: cfform format=flash onload

2008-04-15 Thread James Blaha
No the input field is showing and is also highlighted in blue, its just missing a blinking cursor. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial