Hey guys,
I’m loading many OBJ-Files with a for-Loop and Xml via AssetLibrary. Now it would be nice, if I can get the number of Objects in the OBJ-File for the testExpression part of the for loop.
It’s very annoying to look in every OBJ-File to count the Objects.
testExpression = OBJ.Objects.length
for (var j:uint=0; j<testExpression; j++)
The OBJ:
# 3ds Max Wavefront OBJ Exporter v0.94b - (c)2007 guruware
# File Created: 16.09.2011 12:28:54
mtllib Gelaende.mtl
#
# object Ground
#
#
# object Wall
#
#
# object Road
#
.....