Search  

ANYONE USE 3D TREE BY ZERO FRACTAL. GOT A QUESTION

HomeForumsHelp Neededanyone use 3d tree by zero fractal. got a question
19160 unchartedrealms
381 posts
Bought between 100 and 499 items

This is a long shot but.

hi all i am trying to load a movie clip upon clicking a item in zero fractals 3d tree. the way he has it set up for me is with xml in the actionscript that loads the external swf files as icons in the tree. He even sets up listeners for item clicks in another example file. but I need the listener for a titem click to load a external movie clip onto the stage outside the tree component.

By the way this file is sweet and has been super fun to use.

here is where I am on it so far.

http://ww.thebandinc.com/insp/test

I would be willing pay for some help. Hopefully somone who has bought the file knows something.

Posted 2 months ago
4818 wangruyi
459 posts
Exclusive author Item was featured Author was featured Referred at least one person Sold between 10 000 and 50 000 dollars

good job, I havn’t using any pv3d class.

Posted 2 months ago
19160 unchartedrealms
381 posts
Bought between 100 and 499 items

thanks wrangruyi, I am trying my hardest I think in this one all the papervision 3d is wrapped up in the actual component because I had to turn off my as3 papervision actionscript classes links to let his component publish corectly. so I think it would just be as3.0 normal load movieclip. Meaning no 3d.

here is a snippet of the action script so far

//You must import the event class to interface to tree3D event objects import com.zerofractal.tree3D.tree3DItemEvent;

//The navigation breadcrumbs are set //The text field can be any dynamic text field on the stage. tree3D.breadcrumbs = breadcrumbTextField;

//Here you define a function that assigns custom icons to each item. //Since images will come from an external URL , an empty movie will do. function menuIconFunction(item:Object):String { return “tree3D.icon.empty”; } tree3D.iconFunction = menuIconFunction;

//This event is fired when the actual movie is ready to accept our external image function onAdded(e:tree3DItemEvent) { } tree3D.addEventListener(tree3DItemEvent.ITEM_ADDED,onAdded);

//Here you use As3's own loader class to load the external image
var iconLoader:Loader = new Loader();
//Here you set the loader as a child to the emty item icon
e.item.movie.addChild(iconLoader);
//You call the icon movie from the item XML node's icon attribute.
//To call attributes use the @ sign
iconLoader.load(new URLRequest(e.item.data.@icon));">href="mailto:URLRequest(e.item.data.@icon));">URLRequest(e.item.data.@icon));">href="mailto:href="mailto:URLRequest(e.item.data.@icon));">URLRequest(e.item.data.@icon));">href="mailto:URLRequest(e.item.data.@icon));">URLRequest(e.item.data.@icon));">href="mailto:href="mailto:href="mailto:URLRequest(e.item.data.@icon));">URLRequest(e.item.data.@icon));">href="mailto:URLRequest(e.item.data.@icon));">URLRequest(e.item.data.@icon));">href="mailto:href="mailto:URLRequest(e.item.data.@icon));">URLRequest(e.item.data.@icon));">href="mailto:URLRequest(e.item.data.@icon));">URLRequest(e.item.data.@icon));

//Here you assign an xml to the component var xmlData:XML = new XML ( tree3D.loadXMLData(xmlData);

);

//IMPORTANT: Make sure the canvas size for the external icon is appropiate. //The default should be 128×128 px.

Posted 2 months ago
19160 unchartedrealms
381 posts
Bought between 100 and 499 items

opps that messed up the code. here is a link to the code

http://www.thebandinc.com/insp/as3dtree.rtf

i got some munny. and I love buying files.

Posted 2 months ago