BLOGS

4D FOR FLEX

warning: file_get_contents(http://www.telize.com/geoip/54.242.205.33) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/www.4d.com/docs/includes/common.inc(1762) : eval()'d code on line 4.

How do I resolve a security alert in 4D for Flex?

You may receive the following error:

 

Error #2048
Security sandbox violation
http://localhost8080/SpendingsUI.swf cannot load data from localhost1919

This is due to a change in the Adobe Flash Player Security Model starting from version 9.0.124. See:

http://www.adobe.com/support/security/bulletins/apsb08-11.html
 

To fix this issue, you will need to use 4D Server v11 SQL Release 2.

 

Where's the French localization file in 4D for Flex?

“Any beginner Flex user with a fresh FB3 install wil not have a fr_fr locale and will not be able to compile/run the demos.”

 

Adobe does not provide the "fr_FR" locale (only English & Japanese locales are provided by default).  You will have to create your own locale by using the "copylocale" tool provided by Adobe.

 

Using the "Adobe Flex 3 SDK Command prompt", just type: copylocale en_US fr_FR

I'm having a conflict with 4D for Flex and Adobe AIR

“I tried to create an AIR project using 4D for Flex but there seems to be a conflict. It looks like some of 4D for Flex's classes conflict with AIR's own SQL classes. SQLConnect is one of them.”


1) The approach of using what we call the Flash layer is not supported as it is explained in the manual.

 

2) If you still want to use this API, you can fully qualify this function as a workaround: