Sometimes you need to pass values from components to skin, for example having a dynamic layout. Using Flex sdk 4 you can transfer values using content property of the hostComponent ({hostComponent.content}).
I made a small example that use hostComponent.content, changing the values of HSliders the colors of the component will be changed.
So [...]
Although Flex Builder and Eclipse do have nice debug utilities built in, today I needed a function/method in Actionscript to display into the current application some variables’ content. So I started to implement a var_dump alike function (var_dump from PHP language).
So I started and I made the Debug class that will implement the static dump [...]
If you need to find the class name of an object instance you can use:
className = flash.utils.getQualifiedClassName(yourObject);
This will return a string containing the name of the class that is the base for yourObject. Is very helpful when you need to show errors in big applications.
The returned value is something like this: my.path.to.class::className.