When loading and external .swf file, I get the following error:
URIError: Error #1052: Invalid URI passed to decodeURI function.
at mx.controls::SWFLoader/OSToPlayerURI()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\ controls\SWFLoader.as:1938]
First and foremost - what does this mean exactly?
Secondly, why would I be seeing this error in Flex 4 now, when the code used to work with Flex 3.5?
This method is new to 4.x I believe.
The comments for OSToPlayerURI:
Currently (FP 10.x) the ActiveX player (Explorer on Windows) does not
handle encoded URIs containing UTF-8 on the local filesystem, but
it does handle those same URIs unencoded. The plug-in requires
Can you send along the source URL you were using to load?
Hi, thanks for your reply.
Sure, the URL refers to an external swf file and the parameters sent to it, an example of which would be:
http://<IP address and file structure omitted>/awv.swf
The parameters passed to it look like this:
?awvByteHandlerPath=<IP address omitted>
&awvImagePath=<Image path omitted>
These are all comined together to make the url string. The paths are omitted for security.
It's basically passing a very large image (~80000 x 60000 px) to the swf with specific parameters. The swf itself is a proprietary application and behaves much like zoomify.
Not too clear on how to send the URIs unencoded. How would I do that?