Blog

Category Filtering: 'Flash-Forms'

Remove Filter


Flash Forms Illegal usage of actionscript

Posted by Luis Majano
Oct 18, 2005 00:00:00 UTC
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 org.apache.oro.text.regex.Perl5Pattern@1e3621b.

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
Sep 02, 2005 00:00:00 UTC
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

Archives

Entries Search