This content has been marked as final. Show 3 replies
This is a security error. I guess you'll need to trust the location. Rightclick on any opened swf. Goto settings- >Advanced -> Global Security Settings Panel and add the location there to trust it.
ok is there anotehr wa to see that the data is getting to the flash file
My page loads up and says getting data from localhost... but no data is being displayed in my grid
Are you running your swf from a C: drive based path or web based path ( http://localhost....). I would suggest that you load main.swf from the web based path.
There are some security restrictions which do not allow a swf to access data from a domain different from the location of the swf. Also if the swf needs any data file, please keep the file in the same directory as the swf.
You can debug data loading by adding the following to the mx:RemoteObject declaration.
result="Alert.show(event.result), 'Result' "
Flex SDK Development Team