unfortunately I can't do this. I am pretty new to Flex. But I use the web app now while implementing GIS for a client who uses ERP software and integration of both is very important for them. ERP can be launched using the link but it contains many reserved characters. I am not really sure why but I can launch the ERP app using desktop or python script but not from Flex which is a bit disappointing.
It sounds like you are having trouble with the way the flex application encodes a URL. What happens is when the URL is encoded any special characters in the URL are encoded into the HTML code, i.e. %20 which is used to denote a space in the URL becomes %2520 as %25 is used for a percent sign. One way round it would be to do a find and replace in ArcMap and change your spaces from %20 to a space. What does cause great issues are links to sharepoints sites which have numerous special characters in them.
it is a bit more complicated since I use the formula to "calculate" the URL link on the fly based on features attributes values and moreover part of this link should be once encoded and the other part double encoded! I give up this time 🙂