Ask a Question related to Coldfusion Flash Integration, Design and Development.
-
-==cfSearching==- #1
Re: Can a .as be executed in CF8
IIRC you can use the import and #include directives using cfformitem type="script" and/or cfsavecontent. Though I do not know if either is "officially" supported with cfforms.
-==cfSearching==- Guest
-
a different web.config gets executed
I have .Text running on a Windows 2003 Server website, and a WebService project running on the same website, but in a virtual directory created... -
ASPX not executed
Hi, I'm trying to execute ASPX page on a test IIS Server. Instead of executing it shows the ASPX file on screen. What's happening ? -
script executed every frame
Hi all, I'wrote a script that executes on exitFrame . There's an intro of about 50 frames and then on frame 50 the script should be executed.... -
aspnet_wp won't get executed
Hi folks.. I installed windows server 2003 with domain controller role. And installed iis6 and .net framework etc. I run aspnet_regiis -i for... -
How to config a job to be executed?
Hi. In the project I'm working on now each developer have its own user account towards the database. The application we are doing generates... -
IamTrip #2
Re: Can a .as be executed in CF8
I've tried a few ways of calling
<cfformitem type="script">##include "globalstyle.as";</cfformitem>
<cfformitem type="script">include "globalstyle.as";</cfformitem>
I hate to ask, but I can't seem to find this out anywhere. Could you point me
in the direction of a "how to" for this? Thanks for your time!
IamTrip Guest
-
-==cfSearching==- #3
Re: Can a .as be executed in CF8
Sure. (I am not, by any means, an expert on this ;-) But here is an extremely
simple example using #include.
<!---
SomeFile.as (located in same directory as cfm script)
--->
function doStuff():String
{
return "You called function doStuff()";
}
<!---
CFFORM code
--->
<cfform name="testForm" format="flash">
<cfformitem type="script">
#include "SomeFile.as"
</cfformitem>
<cfinput type="button" name="testButton" value="Test"
onClick="alert(doStuff());">
</cfform>
-==cfSearching==- Guest
-
-==cfSearching==- #4
Re: Can a .as be executed in CF8
BTW, I would also recommend you check out asfusion.com. Though many of the
newer articles are on Flex, they still have some amazing entries and examples
for cfform
[url]http://www.asfusion.com/examples/[/url]
-==cfSearching==- Guest
-
-



Reply With Quote

