Read the whitepapers on Security on the Adobe web-site.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: [email protected] [mailto:[email protected]] On Behalf 
Of [email protected]
Sent: Wednesday, March 11, 2009 10:31 AM
To: [email protected]
Subject: [flexcoders] offline flex3 app - security error


Hi,

is it still possible to run a flex app from lets say, a cd ?
Or do you really have to use air ?

We have an app that was developed last year. It calls an xml to get the data it 
needs. This version still works.

This month i had to change somethings in the app.

My flex builder is updated to the 3.3 SDK. ( I also tried with the 3 SDK and 
2.0.1 hotfix, the last hasn't got the necessary content).

When i try to run the app from outside the localhost, there is always a message 
: " the following local application on your computer ... is trying to 
communicate with this internet-enabled location ..."

Clicking the settings button doesn't do anything, so i can't add the folder to 
the trusted places. This wouldn't be a solution if it worked, because all the 
cd users would have to add the folder also.

Both the swf and the html are in the same folder.

Choosing "ok" continues the app, and everything is working, the xml is loaded. 
So why the warning ?

I have been looking into the Compiler options :
- "-use-network=false" has been in there all the time, and so it should
- deselecting the "require flash player version" doesn't do the trick
- not enabling integration with browser navigation neither

I read that the security changed with player 9.0 r124 - the older of the app 
version worked with 9.0 r115 - so i tried to run the app with older flash 
players.
9.0 r115 and 9.0 r47 didn't work.

If i put the new swf in a folder with the old working html file and change the 
references for history and .js files it doesn't work either. Still the error 
message.

So i guess the problem must be in the swf itself.

I cannot find anything on this, except the advice to add the app to the trusted 
places.

Anybody can help me ? Would be greatly appreciated !

b

Reply via email to