.
overview
features
samples
help & support
downloads
buy now
Questions
Can icons be animated?
Can icons come from external files (JPG, PNG or SWF)?
Can icons have a custom non square size?
Can Tree3D load any XML file into tree3D?
Can Tree3D load xml or icons off from extrenal websites
I am a designer and have a little experience in AS2, is this the component for me?

Answers

topCan icons be animated?

Yes. Icons can be animated, but cannot have buttons or other interaction inside them. Interaction is done directly on the component.

topCan icons come from external files (JPG, PNG or SWF)?

Of course. By declaring an iconFunction, and using the itemAdded Event, you can tap into the icon settings for the component. There you can assign anything from a MovieClip in the library to an external image or even an external SWF file.

We recommend PNG over JPG icons due to their transparency.

topCan icons have a custom non square size?

Yes. To do so use the iconWidth and iconHeight properties to define the size in pixels for the source for the icons (the PNG, JPG, SWF or symbol).

Make absolutely sure that the icons are bound within this area, or else they may be chopped or deformed.

topCan Tree3D load any XML file into tree3D?

Not directly. Remember that because of it's tree nature, each item should be contained in 1 XML element, and its data should be contained within it's element attributes instead of sub element and values.

This will not work:
<node>
<name>Item 1</name>
<icon>document.png</icon>
<url>http://www.zerofractal.com</url>
</node>

Instead you must feed Tree 3D this:
<node name="Item 1" icon="document.png" url="http://www.zerofractal.com" />

When reading xml files formatted with values instead of attributes, you can always easily parse them in Actionscript before feeding it to tree3D using.

topCan Tree3D load xml or icons off from extrenal websites

If the asset to be loaded comes from another domain, Flash looks for a crossdomain.XML policy file. This file must be present at the source server and must allow your domain to read its data.

For more information click here.

topI am a designer and have a little experience in AS2, is this the component for me?

We put together a set of step by step example files that should anyone on the right foot.

Despite this, AS3 is a huge step from AS2. It is best to become familiar with AS3 before using the component. Tree3D has lot of customizable options, which in part require little bits of scripting and basic knowledge of AS3, especially in:

- Event Listeners
- URL Loader and Loader Objects

 
featured componentsfeatured components