Ok, the previous DisplayEditor class has been discontinued. I started to write it without make any search on what has already been done out there. It turns out the outstanding TransformTool by Senocular, which makes any further development of DisplayEditor [...]
DisplayEditor is a simple class that allow to add a WYSIWYG object editor to your flash projects.
Here a quick update of the XMLDisplayManager with the addition of a couple of useful methods.
This update could be an excuse because there is also a first draft of a front-end, which could be named XMLDisplayViewer.
XMLDisplayManager gets a couple of new methods a some bug fixes.
Let’s get started with a live example.
Ok, a quick update to the XMLDisplayManager class.
In the previous post I’d explained the first method, to get the xml object from a DisplayObjectContainer.
I always thought xml in AS3 is powerful to handle data and configuration.
But sometimes it is a pain in the ass design classes that have to be configured by xml files.
This is the best method I found so far to check is an xml attribute exists and have some value set.
If you have an XMLList object and want to shuffle its elements, simply use the following function.
This is pretty useful when you are loading an xml file and want to randomize its elements, i.e. a list of images.
Sometimes there is the necessity to replace a DisplayObject with another one, preserving the matrix transformation. This is useful when you design some UI elements in Flash authoring as placeholder and want to replace it with another, more complex, object.
This Component is an advanced Banner Rotator written in ActionScript 3.0 for Websites, Blogs and Flash projects as well.
Comments