Bug Fix and Discussion: Flex Error #1001: Digest mismatch with RSL framework_3.0.189825.swf. Redeploy the matching RSL or relink your application with the matching library.
Friday, March 28th, 2008MyGeekLife is getting ready to go into limited Beta in May and we just migrated our code from Flex 2 to Flex 3. We are hopping to leverage some of the great advantages that Flex 3 has to offer eg smaller swf sizes, extended testing, cached framework, and superior CSS functionality. Unfortunately, after our implementations we started receiving the following error.
“Flex Error #1001: Digest mismatch with RSL framework_3.0.189825.swf. Redeploy the matching RSL or relink your application with the matching library.”
The interesting thing is this is only occurring on ½ of the swfs we are rendering. Anyway, there are a few hacks that we are looking into. The first one is to have our entire user base update to the latest version of flash. Yes, that is right even if you are running Flex 2 and everything looks great. Flex 3 can cause problems. I am not sure when Adobe updated the Flash player, but the newest version fixes the problem. If you look at Ted on Flex you will see that the updating bug should be fixed soon. The other solution, which we are currently attempting, is the following.
(This text was taken from http://www.duzengqiang.com/blog/article.asp?id=681, I believe their server is some where in Asia and can take a while to load)
This SDK is missing framework_3.0.189825.swf and rpc_3.0.0189825.swf (known bug).
Since your are missing framework_3.0.189825.swf in the frameworks\rsls directory, Flex Builder is unzipping the library.swf from framework.swc and copying it to the bin directory. You are getting the digest mismatch error
because the application is expecting an optimized RSL, not the
unoptimized RSL (library.swf).
The workaround is to create the optimized RSL for the SDK yourself. The
steps to create the optimized RSL are:
1. Unzip library.swf from frameworks\libs\framework.swc to the frameworks\rsls directory.
2. Optimize library.swf and rename it to framework_3.0.189825.swf
>optimizer library.swf –output framework_3.0.189825.swf –keep-as3-metadata=Bindable,Managed,ChangeEvent,NonCommittingChangeEvent,Transient
(more at Optimizing RSL SWF File)
3. Delete library.swf
4. digest –digest.rsl-file framework_3.0.189825.swf –digest.swc-path framework.swc
Now you should have the framework_3.0.189825.swf in the frameworks\rsls
directory has it should have been. You can repeat the same process for
rpc_3.0.189825.swf if needed.
Here are the 2 fixes we have found. If you have an additional fix, comment, or want to start a discussion, please feel free to post a comment.
You Rock,
S.A.M.
P.S. This blog will be updated as we discover the results of the second hack.
Sphere: Related Content