Archive for the ‘Uncategorized’ Category

“Error #2046: The loaded file did not have a valid signature.”

Thursday, August 21st, 2008

After I’ve updated to Flex SDK 3.1.0 I’ve got this Error #2046: The loaded file did not have a valid signature.

Everything in the projects was pointing to the new sdk 3.1.0, instead of 3.0.0, but RSL libraries in the bin-debug folder were still from the old SDK (framework_3.0.0.477.swf, rpc_3.0.0.477.swf, datavisualization_3.0.0.477.swf along with corresponding SWZs)

After some head scratching I’ve opened up the properties of the main application,
Flex Builder path => Library path and looked into the settings of the framework libraries -bingo! It was still using the old settings.

So, all you have to do is to remove old RSLs and add new ones (both swf & swz), so it will look like that:

RSL setup screen

Flex debugging session is stuck at the loading stage (IE only)

Saturday, August 2nd, 2008

I’ve found that when you start debugger from Flex using IE, in most of the cases the debugging session is stuck at the stage when Flash Player shows Loading/Initialising progress bar.
I can’t recall this happening in the Firefox. I still have got intermittent problem with debugging in both browsers but at the later stages, when I load and initialise dynamically SWFs and loading/screen update is stuck.

To overcome this I used to a trick: right-click to get into the Flash Player menu -> click “Play” to shove the debugging session. Sometimes it worked, sometimes it was crashing in the guts of the SystemManager. So I had to restart the whole thing all over again.

It is appeared that the culprit for this freezing is an Anti-Phishing filter.
As soon as added my sites to the Trusted domain and in the IE settings disabled the anti-phishing filter it immediately stopped doing this nasty thing.

Up we go!

Monday, June 9th, 2008

I’ve been steering away from having any blogs/diaries/livejournals for quite a while. But at some point I realised that times have changed and in the modern world a man without a blog is like a dog without wings.

I’ll keep this blog mostly for whinging on Flex, Adobe and other stuff I am currently working with.

Also, it is good place to keep some technical notes & tips.

PS Technically speaking I am not a Pom but after 9 years in Australia I began to understand the roots of this phenomenon.

Cheers!