blog
Tag Archive for namespace 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.
December 30, 2010
ApplicationUpdater ApplicationUpdaterUI namespace StatusUpdateEvent update.xml xml
Quick Tip: ApplicationUpdater for Updating AIR Executables
Few days ago I red an interesting article about Auto update for Adobe Air executable. This article is pretty self-explanatory, it is important to notice, you have to use ApplicationUpdater instead of ApplicationUpdaterUI that was designed for .air apps. One thing I was missing there was to make the process even more dynamic by reading the update url from an update.xml file. Long story short here is a piece of code doing exact the thing:
// var updater:ApplicationUpdater;
var xml:XML = updater.updateDescriptor;
var ns:Namespace = xml.namespace();
var request:URLRequest = new URLRequest(xml.ns::url);
navigateToURL(request);January 25, 2010
Facebook facebook api FacebookCall FacebookData FQL FqlQuery namespace
Parsing FQL result

Facebook Query Language, or FQL, allows you to use a SQL-style interface to more easily query the same Facebook social data that you can access through other Facebook API methods (assuming your application has access!). Data returned for Facebook ActionScript Api are XML. You can access data via E4X after setting correct namespace. As for now (January 25, 2010), Facebook result defines xmlns=”http://api.facebook.com/1.0/” , but it may change in future, so lets make it dynamic…
October 5, 2009
ActionScript example get getter namespace private public set setter
private setter, public getter
It is possible to make private setter and public getter on actionscript classes. All you need is to use proper namespaces for getter and setter within the class.