Blog

Category Filtering: 'Flash-Forms'

Remove Filter


Flash Forms Illegal usage of actionscript

Posted by Luis Majano
18 Oct 2005 12:00 AM
I have been recently using flash forms in several different locations of my new Textus Coldfusion framework which I have been developing for work. I will soon be placing entries about Textus, to give you an insight into this simple but powerful coldfusion framework.

Anyways, I have been implementing a backup system on Textus and decided to use flash forms to populate a cftree with the backups directory contents. Then from here I can open/delete files. What seemed strange was all these errors I kept receiving, that seemed totally out of place, since my code was straightforward. These were the errors:

Illegal usage of actionscript [email protected]

The following actionscript commands are not allowed: "import, new, delete, createChild, loadmovie, duplicateMovieClip, AttachMovie, registerclass, createTextField, __proto__, uiobjectdescriptor, createclassobject, createemptyobject, createchildatdepth, createchildren, createclasschildatdepth, createobject, createchild, webservice, httpservice, remoteobject".

NetDebugger and CF Flash Forms

Posted by Luis Majano
02 Sep 2005 12:00 AM
This entry is to enlighten those who need to enable the Flash Remoting NetDebugger using CF Flash Forms. By default, coldfusion has the flex debuggin off, so you either have to tweak the flex settings or programmatically activate the debugging.

I would not recommend the first solution on a production environment, due to the nature of somebody peaking in to your requests and responses. However, for development is fine. So to start, find the following file: flex-config.xml which can be found under the following directory:

{CF_ROOT}/WEB-INF/cfform/flex-config.xml

Open the xml file and locate the following section:

<!-- When production-mode=true, the debugging options are always

false and may not be set. -->

<debugging>


<!-- allow override of values in debugging section via

query parameter on a per-request basis, if applicable -->

<process-debug-query-params>true</process-debug-query-params>
......

</debugging>

This is the flex debuggin configuration. So in order to activate the debugger change the following entries to true.

<!-- turn on debug to see the request and response on the server side as well

as debug information in client side tracing -->

<remote-objects-debug>false</remote-objects-debug>


<!-- turn on debug to see the request and response on the server side as well

as debug information in client side tracing -->

<web-service-proxy-debug>false</web-service-proxy-debug>


<!-- turn on debug to see the request and response on the server side -->

<http-service-proxy-debug>false</http-service-proxy-debug>

Site Updates

Entries Search