Didn't know FD has got a profiler ;)

On Fri, May 27, 2011 at 5:37 PM, Fabrice3D <[email protected]> wrote:

> I'll look asap at your previous case of memory cleaning.
>
> try set your source at 0,0,0 before clone it
>
> Fabrice
>
>
>
> On May 27, 2011, at 4:00 PM, John Brookes wrote:
>
> > And another thing :o sorry ;)
> >
> > Just trying the populateWithContainer() example
> > Which works fine and cleans up after itself.
> >
> > Now say I want to use an OBJ instead of sphere.
> >
> > Using same code but with
> > var _rows : Number = 2;
> > ...
> > for (x = 0;x < _rows;++x) {
> >     sphere = Mesh(AssetLibrary.getAsset('obj0', 'treeNS')) as Mesh
> > ...
> >
> > I get pic1, position is wrong.
> >
> > Using
> > sphere = Mesh(AssetLibrary.getAsset('obj0', 'treeNS')).clone() as Mesh
> > I get pic2, position right but now, again have things in memory.
> >
> > Just trying to get my head round things :)
> >
> > <pic1.png><pic2.png>
>
>


-- 
Michael Ivanov ,Programmer
Neurotech Solutions Ltd.
Flex|Air |3D|Unity|
www.neurotechresearch.com
http://blog.alladvanced.net
Tel:054-4962254
[email protected]
[email protected]

Reply via email to