Groups | Blog | Home
all groups > coldfusion flash integration > september 2006 >

coldfusion flash integration : Strange Flash Form difficulties


TarogStar
9/1/2006 12:00:00 AM
I'm not sure if this is correct place to ask about this, but I'm not sure where
else to go.

I have a site using several flash forms, which worked beautifully a few weeks
ago. However, now about half the forms will no longer show up. When I debug
it with Dreamweaver I get a whole list of errors, which seem to begin at the
lines past those that have any code. I purposely added an error at the end of
my form, and all the strange errors show up after that error. An example is:
34 Errors found.

Error /Brownfields/inde.mxml:693
')' or ',' expected

Error /Brownfields/inde.mxml:693
The statement '' is incomplete.

Error /Brownfields/inde.mxml:696
ActionScript 2.0 class scripts may only define class or interface constructs.

Error /Brownfields/inde.mxml:711
ActionScript 2.0 class scripts may only define class or interface constructs.
Which repeats over and over until it hits the last error:
Error /Brownfields/inde.mxml:1279
Unexpected '}' encountered

I have even gone back to code that I had zipped up that I know worked before
any other changes and it all does the same thing. Has anyone seen any changes
on the server that could cause such a thing to happen? I know there was some
kind of strange error on that server that our IT guys called Microsoft about
that was blocking all users from remote access, but they only changed group
policy about remote access, and all the forms use data from a database, and
some work, and some don't, there just isn't any consistency. . .
TarogStar
9/1/2006 2:48:37 PM
Ok, I have narrowed down the error, it actually occurs in the onload
actionscript of the form, and apparently absorbs everything else after this
line:
propDate.selectableRange = {rangeEnd:Date.UTC(#DateFormat(Now(), "yyyy, mm-1,
dd+1")#)};

This statement keeps people from being able to enter future dates, but
something is obviously wrong here....
AddThis Social Bookmark Button