Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
cf_dutch #1
alert() = illegal in Flash Forms???
I'm having some problem with a "Are you sure???" popup in flash forms.
I want to delete a row from the cfgrid if clicked of and if clicked cancel do
nothing.
This is my button onclick event:
onclick="alert(?Are you sure you want to delete this wonderfull pizza??,
?Delete this pizza! Sure??, mx.controls.Alert.OK | mx.controls.Alert.CANCEL,
mx); ok = DataGrid.deleteRow(pizzaList); cancel = false;"
Can anybody give me some help why I get the message: Illegal usage of
actionscript??? :confused; I'm really checked all the doc's but there is not a
good relevant example for this.
Thanks in advance!!!:D
cf_dutch Guest
-
Shockwave Flash plugin illegal operation??
I don't know wth is happening but everytime im using netscape or firefox. Some message box pops up saying "The plugin performed an illegal... -
Flash cfform error - INVALID_CHARACTER_ERR: An invalidor illegal XML character is specified. null
I have a simple cfform using Flash that keeps giving the following error: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.... -
IMPORTANT ALERT for Media Flash users
I watched recently on G4 Tech channel, a program called "Call For Help". One particular segment on the program alerted me to use of "illegal"... -
Flash Form Alert
Hi, I finally got the alert working in flash forms. Now my question is, how to do different actions with different buttons. Example: <cfinput... -
Jjavascript-type Alert Box in Flash?
Is there a simple alert box available in Flash? I am actually after a "confirm" style box. Thanks, cp -
jimfree #2
Re: alert() = illegal in Flash Forms???
I can tell you the why but I haven't found the fix. The documentation does say
you have to use actionscript if you are using the flash form. You are trying
to use a javascript function. I've got a similar problem trying to clear a
form field when a button is clicked. I can do it when programming flash but
can't seem to apply it when using a flash form in CFMX7. Hopefully someone
will come up with a how. :)
jimfree Guest
-
phoehne #3
Re: alert() = illegal in Flash Forms???
Alert is available but undocumented. It seems to be similar in functionality
to the alert in Flex, but without documentation its exact method signature is
undetermined:
<cfinput type="button" value="Next" label="Next" name="nextTabBtn"
onclick='
_root._myAlert = alert("You are a giant bozo.", "Bozoliscious", OK |
CANCEL);'/>
However, there appears to be no way to register an event listener.
phoehne Guest
-
cf_dutch #4
Re: alert() = illegal in Flash Forms???
No it's actionscript, I just used this code from the Flex docs!
But the solution for your problem should be like this:
<cfinput type="button" name="clearBT" onclick="resetForm()" />
Hope this helps you a bit?? Hopefully someone can help me with my problem???
cf_dutch Guest
-
cf_dutch #5
Re: alert() = illegal in Flash Forms???
Thanks phoehne!
There is a lot not documented such as the ID attribute wih cfformgroup and
etc..
But anyway, hopefully the docs team can create a CFMX 7 specific actionscript
chapter, because it cost a lot of trial and error time to get wat you want on
this moment.
Anyone from MM about this? maybe Mike Nimer ... got some more info about what
AS functions you can use with for instance DataGrid and etc???
cf_dutch Guest
-
Mike Nimer #6
Re: alert() = illegal in Flash Forms???
What's causing the illegal use of actionscript error in the delete words in
your message. try
Are you sure you want to remove this wonderfull pizza
Remove this pizza
there still isn't a way to add a listener to capture the OK,CANCEL events
though. This is high on the enhancement request list though.
---nimer
"cf_dutch" <mvanleest@wantonline.com> wrote in message
news:cvisp7$p5b$1@forums.macromedia.com...> I'm having some problem with a "Are you sure???" popup in flash forms.
> I want to delete a row from the cfgrid if clicked of and if clicked cancel
> do
> nothing.
> This is my button onclick event:
>
> onclick="alert(?Are you sure you want to delete this wonderfull pizza??,
> ?Delete this pizza! Sure??, mx.controls.Alert.OK |
> mx.controls.Alert.CANCEL,
> mx); ok = DataGrid.deleteRow(pizzaList); cancel = false;"
>
> Can anybody give me some help why I get the message: Illegal usage of
> actionscript??? :confused; I'm really checked all the doc's but there is
> not a
> good relevant example for this.
>
> Thanks in advance!!!:D
>
Mike Nimer Guest



Reply With Quote

