This content has been marked as final. Show 3 replies
When you are running from Flex Builder, Flex Builder automatically adds your ..swf file to list of trusted files. So cross domain check is not made and you can access the web service. Where as when it is launched from the web server, cross domain check is made. You can use BlazeDS (Free and Open source J2EE application) and use Proxy service to request the web service. In this case you don't need a cross domain file to be uploaded in the web server when the web service is exposed.
Hope this helps.
Sure that helps!
In fact I have already finished the client using finally BlazeDS. I am really happy about it, because my managers are really impressed with the final result, and they are considering using Flex in next developments.
My only complain for the moment is that Flex hasn't got a PDF viewer component, and we have to do an ugly workaround using an iframe (which we have to show and hide to avoid overlapping with the SWF content). But I'm still completely fanatic about Flex!
Thank you so much for your help and regards from Spain!
Yes, Flex rocks !
Unfortunately there is no way to render PDF in Flash applications as of now. I think iframe is the way to go.
Enjoy creating Rich Internet Applications.