As a matter of reference, you might be able to trick the Coldfusion AS
compiler into doing it for you if you do this:

subArray.push({label:"New York"});

Cheers,

Kevin

-----Original Message-----
From: Tyler Clendenin [mailto:[EMAIL PROTECTED] 
Sent: August 29, 2005 1:59 PM
To: CF-Talk
Subject: What were they thinking?

Please could someone explain what some moron developer was thinking when
they decided this:
 
 http://www.macromedia.com/devnet/coldfusion/articles/adv_flashforms_07.html
 
This describes being able to tie one drop down box to another using
actiuonscript in a cfform.
 
It sounds great in theory right?  Until you do seomething like this
 
.....
subArray.push('Tampa');
subArray.push('New York');
subArray.push('Seattle');
.....
 
It throws this error:
 
 


Illegal usage of actionscript. 

The following actionscript commands are not allowed: "import, new, delete,
createChild, loadmovie, duplicateMovieClip, AttachMovie, registerclass,
createTextField, __proto__".    
 
 
 
Want me to tell you why?
 
And just to let you know it has nothing to do with the single quotes versus
double quotes.
Because of the value "New York"  Just because my $#%^&%$# string has the
word "new" in it the thing balks.
 
Arg, I wouldn't be so agrivated if things like this didn't happen all the
time.  Love the ideas, hate the implementation.
 
I hate telling someone I can do something just to find out that someone f'ed
up their own job and now I can't do it.
 
Tyler Clendenin
 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216701
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to