blog
Tag Archive for Error at Jozef Chúťka's blog
March 18, 2011
Class Error getDefinitionByName namespace
Quick Tip: Constructor Of Property With Namespace
Some of you may not like the solution (including me) but sometimes you need a little hack to make things work for you. In my case I required a constructor of property declared under custom namespace but not defined (null). Normally, you would go for describeType(), but guess what, yeah it just does not describes properties with namespace other than public. While there was nothing better in my mind than passing some unexpected value and expect what happend I decided to go for it. Luckily an exception was thrown with correct constructor name.
January 28, 2010
WordPress SyntaxHighlighter Evolved goes Error
After latest SyntaxHighlighter plugin update (version 2.3.8), there suddenly appears error window while mouse moving over SyntaxHighlighter code:
Error #2044 & text=Error #2036 Load never compleThe problem is in clipboard.swf file loading as icon (copy to clipboard). There are more people complaining on this error behaviour, and there is a simple fix. Replace this file in your wordpress:
wp-content/plugins/syntaxhighlighter/syntaxhighlighter/scripts/clipboard.swfFor this one clipboard.swf. And its working nicely again.
November 6, 2009
104 Application Type Desktop Error Facebook facebook api incorrect signature web
Facebook application type web goes 104 Incorrect signature
When creating flash / flex application for facebook, Application Type “Desktop” will work for you just fine, even when your app is deployed. My app is both embedded via iframe in facebook and standalone application (not in facebook). First I tought desktop mode is just to test my app locally and when finished, I should switch to web type. But guess what, after switching to “Web” type, my standalone application refused some actions (upload photos etc.), resulting in error:
error_code: 104
error_msg: Incorrect signatureSo, I switched back to “Desktop” and both iframe and standalone applications works fine. :-) Correct me if I am wrong, but it seems, desktop application type works for facebook flash / flex api in all cases.
November 4, 2009
Quick tip: Flex Builder already appears to be running.
Flex Builder already appears to be running. Running two copies of Flex Builder at the same time is not recommended. Are you sure you want to continue? [ Ok ]
… and you do not see one? In windows, open task manager, find javaw.exe and end task.
October 26, 2009
ApplicationDomain Class Error IFlexDisplayObject Loader LoaderContext URLRequest
Flex Error #1034: Type Coercion Failed: Cannot Convert *** to mx.core.IFlexDisplayObject
When you keep getting:
Flex Error #1034: Type Coercion Failed: Cannot Convert *** to mx.core.IFlexDisplayObject… after using getDefinition() method, in my case:
// url = "../some.swf"
var request:URLRequest = new URLRequest(url);
var context:LoaderContext = new LoaderContext();
context.applicationDomain = new ApplicationDomain(ApplicationDomain.currentDomain);
loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, assetsComplete);
loader.load(request, context);
...
// assetsComplete()
var applicationDomain:ApplicationDomain = assetsLoader.contentLoaderInfo.applicationDomain;
var assetsClass:Class = applicationDomain.getDefinition("Assets") as Class;
...
The problem is, in fact, the security not coercion! Try move your .swf (the one that is beeing loaded) into the same directory where master .swf file is located.