Groups | Blog | Home
all groups > coldfusion flash integration > august 2005 >

coldfusion flash integration : BUG ALERT!!


drforbin1970
8/17/2005 6:14:51 AM
The following will throw an error, but it SHOULD NOT!

var myAlert = mx.controls.Alert.show("Add New Application?", "CONFIRM",
mx.controls.Alert.YES | mx.controls.Alert.NO, this, addHandler);

Seems ColdFusion does not like the 'New' in "Add New Application" and throws
an error! Ridiculous!

I wasted over an hour trying to figure this error out!

Hope this helps the rest of you.
Sarge
8/17/2005 6:16:38 PM
PaulH
8/18/2005 12:00:00 AM
sarge,
i just went thru the same thing w/the word "delete" in tooltips. the buttons,
etc. also had the word "delete" in their labels/values but threw no error.
change the word "delete" to "remove" and works fine.

<cfsavecontent variable="deleteMessages">
alert("deleting messages");
</cfsavecontent>

<cfinput type="Button" name="deleteEmailButton" value="delete mail"
visible="Yes" enabled="Yes" tooltip="delete email" onclick="#deleteMessages#">
drforbin1970
8/19/2005 6:13:51 PM
Just tried with single quotes and still get the same message, "Illegal use of
Actionscript, blah, blah".

Looks like a valid bug.

I've also run across this error with the word 'delete' in some instances, but
can't recall exactly which.
PaulH
8/21/2005 12:00:00 AM
DaveHCYJ
9/1/2005 8:22:39 PM
I have also noticed similar things, but can not recall any specifics at the
moment. The problems are usualy around statements that could cause errors in
Action Script in Flash. Even though from a Coldfusion point of view they are
fine.
AddThis Social Bookmark Button