Re: Can I put focus on a Flash Form Field?

2007-02-09 Thread Alton Chinn
Try this event handler:

cfformitem type=script

function goto_login():void {
username.setfocus();
}

!--- other AS code goes here ---

/cfformitem


I have built a few Flash Forms, and I would like to use the below code
to have the cursor flash in the first form field.  Is this
possible...or is their other code that might work, cause the
following code does not work with my Flash Form.
 
script language=JavaScript
!--
document.login.username.focus();
//--
/script

 
Thanks so much
 
Bev Larson 
National Security Technologies 
Data Management  Integration
M/S ~ CF057 
702.295.1901 (work) 
702.630.9916 (cell) 
702.794.1845 (pager)

~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269311
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Can I put focus on a Flash Form Field?

2007-02-09 Thread Alton Chinn
I'm sorry, but Actionscript is case sensitive:

username.setFocus();

Try this event handler:

cfformitem type=script

function goto_login():void {
username.setfocus();
}

!--- other AS code goes here ---

/cfformitem



~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269315
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Cfqueryparam and Oracle

2007-01-09 Thread Alton Chinn
When I use CFQUERYPARAM with an Oracle database, I receive the error query not 
properly ended.

ALWAYS use CFQUERYPARAM...it's not just for stopping SQL injection 
attacksit 
also increases query speed by using BIND variables (at least with Oracle and 
MS 
SQL Server.not Accessnot sure about mySQL).

HTH

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266093
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4